castdevs Posted June 24, 2022 Share Posted June 24, 2022 Hello, i am finding this error in php_error_log of my hosting: [20-Jun-2022 21:28:10 Europe/Rome] PHP Deprecated: implode(): Passing glue string after array is deprecated. Swap the parameters in /home/root/public_html/modules/appagebuilder/appagebuilder.php on line 1718 Going to the line the content is: WHERE pa.`id_product` IN (' . implode(array_map('intval', $products_id), ',') . ') How can i fix it? Thanks Link to comment Share on other sites More sharing options...
Ress Posted June 24, 2022 Share Posted June 24, 2022 Hi, You should change the parameters between them, like this: WHERE pa.`id_product` IN (' . implode(',', array_map('intval', $products_id)) . ') 1 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