Jump to content
Vali Iacobescu

PHP Warning in error log, Prestashop 1.6.1.0

Recommended Posts

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!

 

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

What version of PHP are you trying to use with such an old version of Prestashop?

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More