Questions tagged [php-7]
Use this tag when you have problems very specific to PHP7 because of for example BC breaks
492 questions
0
votes
1
answer
191
views
Call to undefined function simplexml_load_string() when running cron
I am getting this error when running cron.php on a Magento 1.9 site that I recently migrated to a new server. Everything was working correctly on the old one, now I get the error below:
Call to ...
0
votes
1
answer
1k
views
Invalid entity_type specified: customer
sudo php bin/magento setup:install --base-url=http://vstar.local --db-host=localhost --db-name=vstar --db-user=root --db-password=Root@123 --admin-firstname=alan --admin-lastname=wac --admin-email=...
1
vote
1
answer
2k
views
How to Solve 404 error on frontend?
Getting 404 error on frontend page backend Admin panel is perfectly working frontend page only through error what is the reason behind that
0
votes
1
answer
176
views
Segmentation error when getting product from repository
I have a test script which should update products:
use Magento\Framework\App\Bootstrap;
require __DIR__ . '/app/bootstrap.php';
error_reporting(E_ERROR | E_PARSE);
$bootstrap = Bootstrap::create(BP, $...
0
votes
1
answer
150
views
Magento2 admin page keeps loading during the execution of the function used in a controller
Basically. I've created a button in M2 admin. Clicking on that button runs my custom-created indexer.
The indexer is fetching all the products and sends them to a third-party service with a POST ...
0
votes
2
answers
193
views
Exception: Deprecated Functionality: Method ReflectionParameter::getClass() is deprecated in
As per the Adobe Magento 2 Official documentation.
System requirements for Magento 2.4.5 is PHP 8.1
I am getting following error.
Exception: Deprecated Functionality: Method ReflectionParameter::...
0
votes
1
answer
60
views
What are the security risks associated with a Magento 2
What are the security risks associated with a Magento 2 website, and how can you mitigate them?
2
votes
1
answer
255
views
Magento 2 community edition
What are the key differences between Magento 2 Community Edition and Magento 2 Enterprise Edition, and which one is the best fit for your business needs?
1
vote
1
answer
128
views
INSTALLATION ENCOUNTER "WHITE SCREEN OF DEATH"
Why do some Magento 2 installations encounter "white screen of death" errors, where the site appears blank with no error messages displayed?strong text
0
votes
1
answer
75
views
Class BuyRequestBuilder does not exist after upgrade 2.3.5 to 2.3.7
working on an upgrade from 2.3.5 to 2.3.7 and suddenly got this error when compiling, does anybody know how to fix this?
Looks like it had to do with me changing to "minimum-stability": ...
2
votes
2
answers
751
views
How to Calculate dates between a given rage?
I want to calculate dates between current date and given range
for example last 30 days date with the gap of 5 days
the array should be in this formate.
Formate:
2022-8-18 00:00:00
2022-8-13 00:00:...
0
votes
0
answers
37
views
Is autherize.net payment gateway secure with Magento 2.4.2?
I want to use a one time subscription extension. My Magento store version is 2.4.2 . Most of the extensions do not support Authrize.net payment gateway.
Is autherize.net payment gateway not secure ...
0
votes
1
answer
661
views
Rewrite GuzzleHttp\Client in Magento2 not working
Though it is very basic or I suppose to have this working straight but after spending hours am looking for community experts insight/support.
Have to add monitoring of all outgoing requests from ...
0
votes
1
answer
848
views
Magento 2 delete one month old files or images
The below code will delete pub/media/tmp directory and sub directory all files which is older than one month.By the help of core php function.
0
votes
1
answer
223
views
How to add add to cart with ajax to custom phtml
I have to add add to cart button on homepage. I have custom phtml in my own module. I would like this button to work with ajax. Could someone please suggest something?