Jump to content

Block Newsletter Bug


keweli

Recommended Posts

Just something I found and thought it should be noted.

1.4.3 has the following line in OrderOpcController.php, IdentityController.php, & AuthController.php

self::$smarty->assign('newsletter', (int)Module::getInstanceByName('blocknewsletter')->active);



If you have the newsletter block module uninstalled/removed, you will get this error on pages like Opc.

Notice: Trying to get property of non-object in /home/ipa20260/public_html/controllers/ on line 268

I basically just commented out this line for the 3 controllers.

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...