This topic has 7 replies, 4 voices, and was last updated 9 years by 5high-photohub.
-
Author
-
June 12, 2015 at 04:30 #62303sedmordersParticipant
After successfully installing Kleo 3.0 on a WP 4.2.2 site with Plesk 12.0.18 and Windows Server 2012R2, the Visual Composer that comes with the theme breaks my ability to edit Pages. Specifically:
1. When the plugin is disabled, the page can be edited inside the WP admin interface.
2. After the plugin is activate, the following error occurs:PHP Warning: Invalid argument supplied for foreach() in C:\Inetpub\vhosts\sedm.org\httpdocs\wp-content\plugins\js_composer\include\classes\shortcodes\shortcodes.php on line 474 PHP Warning: Invalid argument supplied for foreach() in C:\Inetpub\vhosts\sedm.org\httpdocs\wp-content\plugins\js_composer\include\classes\shortcodes\shortcodes.php on line 1005 PHP Warning: Invalid argument supplied for foreach() in C:\Inetpub\vhosts\sedm.org\httpdocs\wp-content\plugins\js_composer\include\classes\shortcodes\shortcodes.php on line 474 PHP Warning: Invalid argument supplied for foreach() in C:\Inetpub\vhosts\sedm.org\httpdocs\wp-content\plugins\js_composer\include\classes\shortcodes\shortcodes.php on line 1005 PHP Warning: Invalid argument supplied for foreach() in C:\Inetpub\vhosts\sedm.org\httpdocs\wp-content\plugins\js_composer\include\classes\shortcodes\shortcodes.php on line 474 PHP Warning: Invalid argument supplied for foreach() in C:\Inetpub\vhosts\sedm.org\httpdocs\wp-content\plugins\js_composer\include\classes\shortcodes\shortcodes.php on line 1005 PHP Warning: Invalid argument supplied for foreach() in C:\Inetpub\vhosts\sedm.org\httpdocs\wp-content\plugins\js_composer\include\classes\shortcodes\shortcodes.php on line 474 PHP Warning: Invalid argument supplied for foreach() in C:\Inetpub\vhosts\sedm.org\httpdocs\wp-content\plugins\js_composer\include\classes\shortcodes\shortcodes.php on line 1005
What is wrong? The problem even happens when I try to edit a brand new page!
June 12, 2015 at 04:34 #62305sedmordersParticipantLine 474 of the shortcodes.php file described above says:
foreach ( $this->settings[‘params’] as $param ) {
Line 1005 of the shortcodes.php file described above says:
foreach ( $this->settings[‘params’] as $param ) {
June 12, 2015 at 04:40 #62306sedmordersParticipantThe php settings on the site indicate that I am running PHP version 5.3.29.
When I change the PHP version number to 5.4.41, the following error occurs:
PHP Warning: Illegal string offset ‘url’ in C:\Inetpub\vhosts\sedm.org\httpdocs\wp-content\themes\kleo\kleo-framework\metaboxes\init.php on line 423 PHP Warning: Invalid argument supplied for foreach() in C:\Inetpub\vhosts\sedm.org\httpdocs\wp-content\plugins\js_composer\include\classes\shortcodes\shortcodes.php on line 474 PHP Warning: Invalid argument supplied for foreach() in C:\Inetpub\vhosts\sedm.org\httpdocs\wp-content\plugins\js_composer\include\classes\shortcodes\shortcodes.php on line 1005 PHP Warning: Invalid argument supplied for foreach() in C:\Inetpub\vhosts\sedm.org\httpdocs\wp-content\plugins\js_composer\include\classes\shortcodes\shortcodes.php on line 474 PHP Warning: Invalid argument supplied for foreach() in C:\Inetpub\vhosts\sedm.org\httpdocs\wp-content\plugins\js_composer\include\classes\shortcodes\shortcodes.php on line 1005 PHP Warning: Invalid argument supplied for foreach() in C:\Inetpub\vhosts\sedm.org\httpdocs\wp-content\plugins\js_composer\include\classes\shortcodes\shortcodes.php on line 474 PHP Warning: Invalid argument supplied for foreach() in C:\Inetpub\vhosts\sedm.org\httpdocs\wp-content\plugins\js_composer\include\classes\shortcodes\shortcodes.php on line 1005 PHP Warning: Invalid argument supplied for foreach() in C:\Inetpub\vhosts\sedm.org\httpdocs\wp-content\plugins\js_composer\include\classes\shortcodes\shortcodes.php on line 474 PHP Warning: Invalid argument supplied for foreach() in C:\Inetpub\vhosts\sedm.org\httpdocs\wp-content\plugins\js_composer\include\classes\shortcodes\shortcodes.php on line 1005
June 12, 2015 at 04:41 #62307sedmordersParticipantChanging the PHP version to 5.2.17 causes the error to go away!
June 12, 2015 at 14:40 #62343AbeKeymasterGlad to hear that you managed to fix it.
Have a nice weekend
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.June 24, 2015 at 05:01 #646535high-photohubParticipant@sedmorders – I’m getting the same warnings, but don’t understand where you edited to change the php version number to clear the warnings. Can you post some step by step instructions please?
Many thanks.June 24, 2015 at 14:49 #64685AndreiModeratorHi,
You can change your php version from your cpanel (if you have such settings) or by contacting your hosting support team.
Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJune 24, 2015 at 23:45 #647825high-photohubParticipantThanks for the info Andrei. However I think I’ll leave it as it might effect other plugins etc. It also seems to be a general issue, as it’s been posted as a problem on the js composer forum, so hopefully a fix will come from that (for anyone else looking to fix this see this thread to keep you updated: https://archived.seventhqueen.com/forums/topic/endless-php-errors-for-js-composer-since-last-update#post-64745.
Cheers. -
AuthorPosts
The topic ‘Kleo 3.0 Visual Composer 4.5.2 won't edit any pages’ is closed to new replies.