Vali Iacobescu Posted February 23, 2018 Share Posted February 23, 2018 Hello, I have thousands of warnings in error_log, on the server. "PHP Warning: array_merge(): Argument #1 is not an array in /public_html/classes/Carrier.php on line 1310" This is the line - 1310: $error = array_merge($error, $carrier_error); What can I do about that? Thanks! Link to comment Share on other sites More sharing options...
musicmaster Posted February 23, 2018 Share Posted February 23, 2018 I don't have that PS version at hand to check. But your error message says that initially $error is not an array. You might check the code and that of newer PS versions to find out how that comes. Link to comment Share on other sites More sharing options...
El Patron Posted February 25, 2018 Share Posted February 25, 2018 if there are no issues with your shop, find the line of code and put an @ in front of the offending instruction. they it will stop. http://php.net/manual/en/language.operators.errorcontrol.php Link to comment Share on other sites More sharing options...
Vali Iacobescu Posted February 26, 2018 Author Share Posted February 26, 2018 I'll try your suggestions. Thanks, guys. Link to comment Share on other sites More sharing options...
bellini13 Posted February 27, 2018 Share Posted February 27, 2018 What version of PHP are you trying to use with such an old version of Prestashop? Link to comment Share on other sites More sharing options...
Vali Iacobescu Posted March 4, 2019 Author Share Posted March 4, 2019 On 2/27/2018 at 2:43 PM, bellini13 said: What version of PHP are you trying to use with such an old version of Prestashop? PHP 5.6.40 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