problem with urlencode warning
-
Hi
I am creating a Woocommerce plugin that displays products with some details in a widget and it loads more products by using AJAX. All parameters and attributes of the products are loaded correctly, but I receive an unknown warning message:
urlencode() expects parameter 1 to be string, array given in wp-includes\formatting.php on line 4790
I don’t know why this message is created. I placed main function that fetches data from database in a class in a separated file. The name of this file is a something like class.pluginname-helper.php. I supposed this problem is related to the name of this file, so I tried to change name of this file, but it did not solve the problem. please help me.
- The topic ‘problem with urlencode warning’ is closed to new replies.