-
-
Notifications
You must be signed in to change notification settings - Fork 437
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[PHP 8.2] Warnings in the log files during order placement #3184
Comments
Hi @addison74,
|
|
For point 2, in my case #3181 it is not fixing it. Here is the system.log file content with that PR applied. I deleted the duplicated lines. There are more errors after finishing the checkout than I reported before, one is related to Google Analytics. 2023-04-17T14:16:57+00:00 ERR (3): Deprecated functionality: Creation of dynamic property Mage_Paypal_Model_Config::$visible_on_product is deprecated in /var/www/html/app/code/core/Mage/Paypal/Model/Config.php on line 781
2023-04-17T14:16:57+00:00 ERR (3): Deprecated functionality: Creation of dynamic property Mage_Paypal_Model_Config::$active is deprecated in /var/www/html/app/code/core/Mage/Paypal/Model/Config.php on line 781
2023-04-17T14:16:58+00:00 ERR (3): Deprecated functionality: imagecolorallocate(): Passing null to parameter #2 ($red) of type int is deprecated in /var/www/html/lib/Varien/Image/Adapter/Gd2.php on line 276
2023-04-17T14:16:58+00:00 ERR (3): Deprecated functionality: imagecolorallocate(): Passing null to parameter #3 ($green) of type int is deprecated in /var/www/html/lib/Varien/Image/Adapter/Gd2.php on line 276
2023-04-17T14:16:58+00:00 ERR (3): Deprecated functionality: imagecolorallocate(): Passing null to parameter #4 ($blue) of type int is deprecated in /var/www/html/lib/Varien/Image/Adapter/Gd2.php on line 276
2023-04-17T14:17:06+00:00 ERR (3): Deprecated functionality: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/app/code/core/Mage/GiftMessage/Block/Message/Inline.php on line 245
2023-04-17T14:17:33+00:00 ERR (3): Deprecated functionality: Creation of dynamic property Mage_Paypal_Model_Config::$cctypes is deprecated in /var/www/html/app/code/core/Mage/Paypal/Model/Config.php on line 781
2023-04-17T14:17:41+00:00 ERR (3): Deprecated functionality: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/app/code/core/Mage/Downloadable/Helper/Catalog/Product/Configuration.php on line 59
2023-04-17T14:17:48+00:00 ERR (3): Deprecated functionality: strtoupper(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/app/code/core/Mage/GoogleAnalytics/Block/Ga.php on line 213 |
same issue on OpenMage 20.1.0-rc3
|
the paypal one has been fixed for sure, the image.php one should be fixed in #3201 |
[PHP 8.2 - OpenMage 20.1.0-rc3] - this is not related to the current issue.
|
[PHP 8.2] - this is not related to the current issue, but I found it in the system.log file today.
|
this one is tricky, because it comes from the search engine... we shouldn't fix it in those 2 lines but above in the calls stack... |
@TangLiang do you know how to reproduce the problem? |
@fballiano i just checked,it's cause by the third part extension,it not check the string is empty or exist before call Mage::help('core/string')->splitWords() and Mage::help('core/string')->strlen(). |
I am going to close this issue because I haven't found any more errors in the OpenMage log files. If they appear, a new report ticket can be created. |
Use Magento Sample Pack. Add the following products to the cart "Alice in Wonderland" and "Falling by I am Not Lefthanded".
1. Cart Page - system.log file
2. Checkout - Onepage Billing Information - system.log file
3. Checkout - After placing the order - system.log file
The text was updated successfully, but these errors were encountered: