You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In doing routine maintenance on my website, I noticed that the error_log file was generating multiple warnings. Two warnings are being generated repeatedly due to undefined indexes in the Product.php file. The text of the errors are as follows:
PHP Notice: Undefined index: attribute_price in /home/soccerph/public_html/pshop/classes/Product.php on line 3418
PHP Notice: Undefined index: attribute_ecotax in /home/soccerph/public_html/pshop/classes/Product.php on line 3419
Expected behavior
No warnings written to the log file for undefined indexes.
Steps to Reproduce
Not sure how to replicate since I don't what what actions are generating those calls.
I have been working on adding products
Screenshots
Attaching screenshot of some rows of log file:
Additional information
PrestaShop version: 1.7.7.7
PHP version: 7.3
The text was updated successfully, but these errors were encountered:
We are aware of this issue, it is already in our debug backlog. This issue is a duplicate of #25782.
To be informed when it's fixed, please subscribe to the issue mentioned above.
Describe the bug
In doing routine maintenance on my website, I noticed that the error_log file was generating multiple warnings. Two warnings are being generated repeatedly due to undefined indexes in the Product.php file. The text of the errors are as follows:
PHP Notice: Undefined index: attribute_price in /home/soccerph/public_html/pshop/classes/Product.php on line 3418
PHP Notice: Undefined index: attribute_ecotax in /home/soccerph/public_html/pshop/classes/Product.php on line 3419
Expected behavior
No warnings written to the log file for undefined indexes.
Steps to Reproduce
Not sure how to replicate since I don't what what actions are generating those calls.
I have been working on adding products
Screenshots
Attaching screenshot of some rows of log file:
Additional information
The text was updated successfully, but these errors were encountered: