David G. Posted July 18, 2012 Share Posted July 18, 2012 I have an issue with a module on the RC1, where it had no problems in the latest 1.4 release. It uses some methods, that seems not be working like before: In the backoffice, global $link is not recognized as an object. Also in the backoffice, Product::getPriceStatic((int)$product->id, true) seems not to be retrieving anything. Any suggestions? Link to comment Share on other sites More sharing options...
Mike Kranzler Posted July 18, 2012 Share Posted July 18, 2012 Hi David, Which module specifically is causing you this issue? -Mike Link to comment Share on other sites More sharing options...
David G. Posted July 19, 2012 Author Share Posted July 19, 2012 the issue was resolved by initializing $link in the module php file. $protocol_link = (Configuration::get('PS_SSL_ENABLED')) ? 'https://' : 'http://'; $protocol_content = (isset($useSSL) AND $useSSL AND Configuration::get('PS_SSL_ENABLED')) ? 'https://' : 'http://'; $link = new Link($protocol_link, $protocol_content); Link to comment Share on other sites More sharing options...
Mike Kranzler Posted July 19, 2012 Share Posted July 19, 2012 Great, I'm glad you were able to resolve this! I'll go ahead and mark this thread as solved for you. Happy selling! -Mike Link to comment Share on other sites More sharing options...
Recommended Posts