-
AuthorPosts
-
July 8, 2015 at 9:20 pm #325025
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.
Thank you
July 8, 2015 at 10:24 pm #325089Hello 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.93You 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.
July 9, 2015 at 12:06 am #325183Hi,
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?
July 9, 2015 at 12:20 am #325200Hi 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!
July 15, 2015 at 3:29 pm #331413Same issue here. Checked the WP_DEBUG and it was set to false. Any other ideas?
July 15, 2015 at 6:12 pm #331527Hi 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 credentialsDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
Thanks!
July 15, 2015 at 7:21 pm #331557A 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
July 15, 2015 at 7:42 pm #331573This reply has been marked as private.July 15, 2015 at 10:21 pm #331687Hello 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.
July 16, 2015 at 12:01 am #331742Hi 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
July 16, 2015 at 1:10 am #331787Hi 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
July 16, 2015 at 11:28 am #332225Editing with Cornerstone now. Awesome!
Thanks for your help.Phil
July 16, 2015 at 1:05 pm #332309Thank 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. 🙂
-
AuthorPosts