Originally Posted by
nuganics
Yes just warnings but trying to keep /logs/ clean so when there is a serious error I don't miss it :)
/public_html/includes/modules/payment/paypal/paypal_functions.php on line 484 is below:
if (MODULE_PAYMENT_PAYPAL_IPN_DEBUG == 'Yes') {
I looked at some other commits to core from mods with similar warning and maybe the below will fix but not sure if correct or backwards compatible with older PHP versions.
if (defined('MODULE_PAYMENT_PAYPAL_IPN_DEBUG') == 'Yes') {
Actually in the case of this code, if the PayPal plugin had been properly installed (meaning possibly uninstalled and then reinstalled) and this debug was still being generated, then this code:
Code:
if (MODULE_PAYMENT_PAYPAL_IPN_DEBUG == 'Yes') {
Would become:
Code:
if (defined('MODULE_PAYMENT_PAYPAL_IPN_DEBUG') && MODULE_PAYMENT_PAYPAL_IPN_DEBUG == 'Yes') {
But, seeing as this constant was incorporated earlier than in version 1.5.6, no action has been incorporated to auto-ensure that it is defied. See, previously the expected process was to reinstall payment and shipping methods. By going through the installation process after that constant had been incorporated into the code, then it would be added to the database and not need a check of whether it was defined or not.
Basically this debug log indicates that the associated paypal method has not been installed to ensure that all database records are up-to-date. It was previously installed and upgrades were performed, but the database never received this record. So make note of your settings, remove the paypal module which is: Paypal Payments Standard from the looks of it.
Bookmarks