I was setting up a blog for someone and got this error when I activated the theme:
<b>Warning</b>: urlencode() expects parameter 1 to be string, array given in <b>/home/content/39/6047239/html/TorRides/wp-includes/formatting.php</b> on line <b>4768</b>
I’m not sure why this is happening. I installed everything by the book.
Can someone please help me diagnose this? I can give your team access to the backend or FTP if necessary.
I hope you are well today and thanks for posting here.
This is a simple PHP warning/notice and most of the time it doesn’t affect functionality of site so it is nothing to worry about!
Do you have WP_DEBUG set to true in your wp-config.php file?
If you do then please set it to false.
This will hide the warning messages and you will be able to use your site normally.
Debug is set to false and I’m still seeing this message. There is an error in the blog-slider.php file in the theme that’s causing this error on slide layout 6.
You should probably look into that.
I could not reproduce it on my test site.
Could you please tell me how did you confirm that the blog-slider.php file in the theme is causing this?