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
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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

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