Massive Addons for Visual Composer v2.1 Illegal string offset 'data-column-id'

This topic has 6 replies, 3 voices, and was last updated 6 years, 5 months ago ago by Olga Barlow

  • Avatar: monika-mw
    monika-mw
    Participant
    April 10, 2017 at 17:43

    Hi,

    PHP 7 and lower
    A lot of warnings generated by mistake in code.

    Warning: Illegal string offset ‘data-column-id’ in …\wp-content\plugins\mpc-massive\shortcodes\mpc_column\mpc_column.php on line 101

    and

    Warning: Invalid argument supplied for foreach() in …\wp-content\plugins\mpc-massive\shortcodes\mpc_column\mpc_column.php on line 128

    Please create a pull request for the plugin developer (or report a problem) and ask for a new version.

    Massive Addons for Visual Composer v2.1

    mpc-massive\shortcodes\mpc_column\mpc_column.php

    method MPC_Column::reset
    Now is:

    		function reset() {
    			$this->css_id  = '';
    			$this->classes = '';
    			$this->sh_atts = '';
    			$this->atts    = $this->defaults;
    
    			libxml_clear_errors();
    		}

    should be:

    		function reset() {
    			$this->css_id  = '';
    			$this->classes = '';
    			$this->sh_atts = array();
    			$this->atts    = $this->defaults;
    
    			libxml_clear_errors();
    		}
    5 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    April 10, 2017 at 18:11

    Hello,

    I’m sorry but the latest version of that plugin is 2.2 https://www.8theme.com/download-plugins/
    Update it, please.

    Regards

    Avatar: monika-mw
    monika-mw
    Participant
    April 10, 2017 at 18:37

    Updated to v2.2 and this bug still exist.

    Can you help to fix this?

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    April 11, 2017 at 15:44

    Hello,

    We have contacted with plugin developers and got the following response http://prntscr.com/ev5oit
    So, we can just wait if plugin author fixes this.

    Regards

    Avatar: plukash
    plukash
    Participant
    November 13, 2017 at 13:28

    I have the same issue as named above. I have reinstalled the plugin from the depository Download plugins on 8|Theme. Nothing has changed.

    Website: https://bemore.ee/

    PHP version 7.1

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    November 13, 2017 at 15:35

    Hello, @plukash

    Unfortunately, plugin author has not released new update yet to fix this issue. We are still waiting. So, please, downgrade your PHP to 7.0 and wait for the plugin update.

    Regards

  • Viewing 6 results - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.