sergikaya Posted January 4, 2013 Share Posted January 4, 2013 Hi! I actually PS 1.4.9 to 1.5.3 and the Paiment Tab from Back Office not work, when i link the page not charge. some people have the same problem, what i can do??? thanks Link to comment Share on other sites More sharing options...
dagnez Posted January 8, 2013 Share Posted January 8, 2013 Same problem here. I get an error: Fatal error: Call to a member function getAdminLink() on a non-object in /public_html/classes/module/Module.php on line 1071 Looks like there is a problem with some module, but which? Link to comment Share on other sites More sharing options...
irrelevant Posted January 12, 2013 Share Posted January 12, 2013 (edited) Same problem here. I get an error: Fatal error: Call to a member function getAdminLink() on a non-object in /public_html/classes/module/Module.php on line 1071 I am getting the exact same error, and I've seen several other mentions with no solution. In what might be a related matter, clicking on Payments & Gateways category in the module list lists me all the modules, not just payment related ones. My thought is that if the payments tab is using the same process to find the available payment modules, then it's going to get given a pile of things it can't deal with, which might be a cause of this error. Somebody else had the issue here but it wasn't reproducible. Maybe it's an issue created by an upgrade? Mine was upgraded from 1.5.2. Edited January 12, 2013 by irrelevant (see edit history) Link to comment Share on other sites More sharing options...
dagnez Posted January 12, 2013 Share Posted January 12, 2013 Well, I just upgraded from 1.5.3 to 1.5.3.1 Few bugs fixed, twice as much new bugs occurred :/ Link to comment Share on other sites More sharing options...
irrelevant Posted January 12, 2013 Share Posted January 12, 2013 OK well I fixed it on my site... Based on a solution here for a similar error in a different module. Add if (empty(Context::getContext()->link))Context::getContext()->link = new Link(); immediately before line 1071 ($href = Context::getContext()->link->getAdminLink('Module', true).'&module_name=' ..etc) That sorted the Payments tab. Still no idea about my other issue; maybe it's not related after all! 1 Link to comment Share on other sites More sharing options...
dagnez Posted January 12, 2013 Share Posted January 12, 2013 (edited) Works like a charm. Thanks a lot! Please add [solved] to topic. Edited January 12, 2013 by dagnez (see edit history) Link to comment Share on other sites More sharing options...
joseantgv Posted February 18, 2013 Share Posted February 18, 2013 Or: https://github.com/PrestaShop/PrestaShop/commit/32d10acf79b7f61fc69e6a7a044b8c8434d15bae Link to comment Share on other sites More sharing options...
benjamin utterback Posted February 18, 2013 Share Posted February 18, 2013 Hello, thank you for the message. I will go ahead and mark this thread as solved. Thank you for choosing PrestaShop! Link to comment Share on other sites More sharing options...
cerovic Posted June 11, 2013 Share Posted June 11, 2013 Thanks gays. I had same problem with 3.5.1 and it WORKS for me. 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