Vincent-31 Posted March 10, 2017 Share Posted March 10, 2017 Hi, I have a prestashop in 1.6.0.14, with the last click and upgrade addon (1.6.7). In the setting page of this add on, i can not do the upgrade, because there is this message : ( ! ) Strict standards: Declaration of Upgrader::checkPSVersion() should be compatible with UpgraderCore::checkPSVersion($refresh = false, $array_no_major = Array) in C:\wamp64\www\orbans\override\classes\Upgrader.php on line 75 Call Stack # Time Memory Function Location 1 0.0008 253544 {main}( ) ...\index.php:0 2 0.1872 12230152 DispatcherCore->dispatch( ) ...\index.php:54 3 0.3861 14194400 include_once( 'C:\wamp64\www\orbans\modules\autoupgrade\AdminSelfUpgrade.php' ) Does someone know why? Link to comment Share on other sites More sharing options...
bellini13 Posted March 10, 2017 Share Posted March 10, 2017 try to add this function to your existing Upgrader override file located here... /override/classes/Upgrader.php public function checkPSVersion($force = false) { $array_no_major = array('minor'); $this->checkPSVersion($force, $array_no_major); } Link to comment Share on other sites More sharing options...
Vincent-31 Posted March 10, 2017 Author Share Posted March 10, 2017 Sorry but it didn't work, same error... Link to comment Share on other sites More sharing options...
Vincent-31 Posted March 10, 2017 Author Share Posted March 10, 2017 I try something new, it works ! I uninstall the click and upgrade add on, then l delete it and re-install it, and no more error like that. But know, there is a javascript error : http://monsite/manager/autoupgrade/ajax-upgradetab.php 500 (Internal Server Error) [jquery] Any idea? Link to comment Share on other sites More sharing options...
Vincent-31 Posted March 10, 2017 Author Share Posted March 10, 2017 Found it !! In override/classes/upgrader.php, change for this : public function checkPSVersion($force = false, $array_no_major = array('minor')) { $dont_show_notif_prestashop_version = 1; if($dont_show_notif_prestashop_version == 1 && false) return false ; else return parent::checkPSVersion($force,$array_no_major); } 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