Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #325025

    Jacinta
    Participant

    Hi guys,

    I have never seen this error message before and have no idea what it means. It pops up when I try to edit icon containers in columns and now it is starting to pop up whenever I add an element on my page.

    Can someone please help me? Follow link below for error message. Here I have simply added an empty container which you can see below the error message window.

    http://prntscr.com/7qiuqc

    Thank you

    #325089

    Rue Nel
    Moderator

    Hello There,

    Thanks for writing in!

    Can you confirm that you are fully updated? (Theme and Plugins)

    Our latest versions are:
    X Theme: 4.0.4
    Cornerstone: 1.0.3
    Visual Composer: 4.5.3
    Revolution slider: 4.6.93

    You can find the latest version numbers here: (http://theme.co/x/member/changelog/) Then you can compare them to what’s installed on your site.

    If you find anything to be out of date, you can review our update guide.

    Thank you.

    #325183

    Jacinta
    Participant

    Hi,

    I checked and all plugins were up to date, I was on X theme version 1.0.3, have now updated to 1.0.4 but the problem persists. See below. I have tried logging out and back in again, restarting my computer etc but still same error message.

    Any other ideas?

    http://prntscr.com/7qk261

    #325200

    Rad
    Moderator

    Hi Luke,

    Looks like your wordpress debug is still enabled. You can disable that by setting WP_DEBUG to false at your site’s wp-config.php

    Please try that and let us know.

    Thanks!

    #331413

    philhulett
    Participant

    Same issue here. Checked the WP_DEBUG and it was set to false. Any other ideas?

    #331527

    Rad
    Moderator

    Hi Phil,

    In that case, would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password
    – FTP credentials

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    Thanks!

    #331557

    philhulett
    Participant

    A little more detail…when using the backend editor and adding a new element, in this case, a container, I get the following error in the pop-up box:

    Warning: array_map(): Argument #2 should be an array in /home/phaf/public_html/wp-content/plugins/js_composer/include/classes/editors/popups/class-vc-shortcode-edit-form.php on line 44

    WP_DEBUG is set at false and I tried removing “$” from the string…no good. So I put those back.

    Here’s the string of code:
    public function renderFields() {
    $params = array_map( ‘htmlspecialchars_decode’, stripslashes_deep( vc_post_param( ‘params’ ) ) );
    $tag = stripslashes( vc_post_param( ‘tag’ ) );
    require_once vc_path_dir( ‘EDITORS_DIR’, ‘class-vc-edit-form-fields.php’ );
    $fields = new Vc_Edit_Form_Fields( $tag, $params );
    $fields->render();
    die();
    }

    The line that begins with $params = array_map is line 44.

    Thanks

    Phil

    #331573

    philhulett
    Participant
    This reply has been marked as private.
    #331687

    Lely
    Moderator

    Hello Phil,

    Thank you for the admin credentials above. Please install Cornerstone via Addons > Extension > Install Cornerstone as this is required in X 4.0. Then after you activate Cornerstone on Plugin page, uninstall X shortcode plugin as this was replace by Cornerstone. You may read our latest changelog here.

    Please let us know how this goes.

    #331742

    philhulett
    Participant

    Hi there. I followed your directions and all the random code on the site is now gone.

    I’m still getting this when trying to input a container using the backend editor:

    Warning: array_map(): Argument #2 should be an array in /home/phaf/public_html/wp-content/plugins/js_composer/include/classes/editors/popups/class-vc-shortcode-edit-form.php on line 44

    #331787

    Paul R
    Moderator

    Hi Phil,

    This bug is already on our list and should be fix soon. Meanwhile, if shortcodes are working fine, you can ignore this warning.

    Thanks

    #332225

    philhulett
    Participant

    Editing with Cornerstone now. Awesome!
    Thanks for your help.

    Phil

    #332309

    Nico
    Moderator

    Thank you so much for understanding.

    Have a grea day! Let us know if you need anything else. In case it is a different topic, open a new thread for it. Thanks. 🙂