micho88 Posted September 15, 2014 Share Posted September 15, 2014 (edited) When error reporting is on I get: Warning: Function addCSS() is deprecated in /home/pcsi112/public_html/modules/cookieslaw/cookieslaw.php on line 121 in /home/pcsi112/public_html/classes/Tools.php on line 1845Warning: Function addJS() is deprecated in /home/pcsi112/public_html/modules/cookieslaw/cookieslaw.php on line 122 in /home/pcsi112/public_html/classes/Tools.php on line 1845) If error reporting is off, everything works fine, but register for new users. When user try to register he/she get this: http://www.112pc.si/img/Capture1.JPG Edited September 15, 2014 by micho88 (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted September 20, 2014 Share Posted September 20, 2014 change old unused Tools::addCSS to $this->context->controller->addCSS do the same for addJS functions Link to comment Share on other sites More sharing options...
micho88 Posted September 21, 2014 Author Share Posted September 21, 2014 For all modules, I have to check this? What about "old" isLogged()? Is that ok, for example: if (!$this->context->customer->isLogged()) or I have to change lines like that to if (!$this->context->customer->$logged) Is there any tutorial how to change all that old stuff to working lines. Or what is the best way? I dont know anything what to change, so it is very confusing, when I reading posts on forum about that Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now