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
I installed the extension in Magento 1.7.0.2, the Varnish part works well but I get this error when trying to update any form in the Magento admin:
Fatal error: Call to a member function isActive() on a non-object in /var/www/html/magento/app/code/community/Magneto/Varnish/Helper/Data.php on line 113
I am using Varnish in a separate server, in any case that does not seem to be the problem
The part of code throwing the error is:
(line 113) if (!Mage::getSingleton('enterprise_logging/config')->isActive($eventCode, true)) {
return;
}
I have searched the web with no luck, there must be more 1.7.0.2 users with the same problem
The text was updated successfully, but these errors were encountered:
I am posting this auto-reply here just in case somebody gets the same error, in any case if somebody knows how to fix it please post code.
The function where the offender line is at
/var/www/html/magento/app/code/community/Magneto/Varnish/Helper/Data.php on line 113
is supposed to log magneto-varnish purges in Magento admin log. You can safely skip it by just making the function return false. In any case this issue has to be related to any recent Magento structure or syntax change previous to version 1.7.0.2. I don't have much time to investigate it, for me it is O.K. to simply turn off logging. I guess a simple update inside getSingleton('-- HERE --') providing the route to the loggin facility should be enough.
I installed the extension in Magento 1.7.0.2, the Varnish part works well but I get this error when trying to update any form in the Magento admin:
Fatal error: Call to a member function isActive() on a non-object in /var/www/html/magento/app/code/community/Magneto/Varnish/Helper/Data.php on line 113
I am using Varnish in a separate server, in any case that does not seem to be the problem
The part of code throwing the error is:
(line 113) if (!Mage::getSingleton('enterprise_logging/config')->isActive($eventCode, true)) {
return;
}
I have searched the web with no luck, there must be more 1.7.0.2 users with the same problem
The text was updated successfully, but these errors were encountered: