- This topic has 5 replies, 2 voices, and was last updated 4 years, 11 months ago by Skandha.
-
AuthorPosts
-
October 30, 2019 at 5:11 am #193045Pier LuigiParticipant
Hello everyone,
i was trying to enable some theme features when suddenly error started showing up on my screen, after which my WordPress sidebar would load but nothing else.
Here are the errors:Warning: in_array() expects parameter 2 to be array, string given in /web/htdocs/www.mywebsite.com/home/wp-content/themes/clean-enterprise-pro/inc/customizer/sanitize-functions.php on line 102 Warning: array_intersect(): Expected parameter 1 to be an array, string given in /web/htdocs/www.mywebsite.com/home/wp-content/themes/clean-enterprise-pro/inc/customizer/sanitize-functions.php on line 123 Warning: count(): Parameter must be an array or an object that implements Countable in /web/htdocs/www.mywebsite.com/home/wp-content/themes/clean-enterprise-pro/inc/customizer/sanitize-functions.php on line 123 Warning: count(): Parameter must be an array or an object that implements Countable in /web/htdocs/www.mywebsite.com/home/wp-content/themes/clean-enterprise-pro/inc/customizer/sanitize-functions.php on line 123
The only plugin i have enabled is Essential Content Types. I used Catch Themes Demo Import but disabled it after usage, since it displays another error on top of the page if i enable it (
Warning: Invalid argument supplied for foreach() in /web/htdocs/www.mywebsite.com/home/wp-content/plugins/catch-themes-demo-import/inc/demo-importer.php on line 23
)I know i can simply disable them by setting wp_debug_display to false,but i would like to solve this problem from its root. Any help would be greatly appreciated.
Thank you and have a nice day.
October 30, 2019 at 6:00 am #193049Pier LuigiParticipantAlso i just found out something: this issue triggers whenever i try to manually reloaad the Customize Theme page. Hopefully this helps
October 30, 2019 at 9:57 am #193071SkandhaParticipant@pier-luigi: Hello there,
I will check the errors and get back to you. Meanwhile can you let me know the version of the theme you are using?Kind Regards,
SkandhaOctober 30, 2019 at 10:39 am #193081Pier LuigiParticipantThank you.
I am using Clean Enterprise Pro, version 1.1.
I am also using the latest version of WordPress, 5.2.4October 31, 2019 at 7:18 am #194939SkandhaParticipant@pier-luigi: Hello there,
I checked for the errors at my end but did not get any.
Can you please try deactivating all your plugins and see the errors appear? Also do post in your site URL as well.Kind Regards,
SkandhaNovember 1, 2019 at 12:20 am #196907SkandhaParticipant@pier-luigi: Hello there,
I have fixed the function due to which the errors were showing up and the customizer was not loading at your end. Let me know if the issue is resolved.Kind Regards,
Skandha -
AuthorPosts
- The topic ‘PHP errors when trying to load theme’ is closed to new replies.