This topic has 7 replies, 4 voices, and was last updated 9 years by 5high-photohub.

  • Author
  • #62303
     sedmorders
    Participant

    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!

    #62305
     sedmorders
    Participant

    Line 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 ) {

    #62306
     sedmorders
    Participant

    The 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

    #62307
     sedmorders
    Participant

    Changing the PHP version to 5.2.17 causes the error to go away!

    #62343
     Abe
    Keymaster

    Glad 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.

    #64653
     5high-photohub
    Participant

    @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.

    #64685
     Andrei
    Moderator

    Hi,

    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 solution
    #64782
     5high-photohub
    Participant

    Thanks 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.

Viewing 8 posts - 1 through 8 (of 8 total)

The topic ‘Kleo 3.0 Visual Composer 4.5.2 won't edit any pages’ is closed to new replies.

Log in with your credentials

Forgot your details?