• Resolved caterweb

    (@caterweb)


    Hi, after installing latest release suddenly the plugin doesn’t work anymore, giving this error:

    Notice: Undefined property: stdClass::$roles in /home/*****/test.******.eu/********/wp-content/plugins/vision/includes/plugin.php on line 107

    Wordpress release: 5.4.2

    Seems also it’s impossible to revert to some previous versions since it’s not on WP repository anymore.

    Any advice? Thanks

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter caterweb

    (@caterweb)

    [edit] i’ve seen the 1.4.0 release was on 09/09/2020, so probably the problem begins on this version, since i had not updated the plugin in the past few monthes (don’t know why, i was on 1.2.2 version even if i downloaded it last spring for the first time).
    I’ve found a backup and reverted to 1.2.2 and things are fine, so there’s something wrong in new releases.

    I’m on a multisite and multilanguage project, so i will need to buy Pro version to make different versions of same images… if working. 😉

    • This reply was modified 3 years, 6 months ago by caterweb.
    • This reply was modified 3 years, 6 months ago by caterweb.
    Plugin Author Avirtum

    (@avirtum)

    Very strange issue, what is your PHP version?

    Thread Starter caterweb

    (@caterweb)

    I’m using PHP 7.0.33

    • This reply was modified 3 years, 6 months ago by caterweb.
    Plugin Author Avirtum

    (@avirtum)

    I’ve tested the plugin from wp repository (the current version 1.4.1) and PHP 7.1.24. I didn’t see any problem. I think it’s because you have initialized settings from prev version.
    In line 107 we have this

    if(is_array($settings->roles))

    To fix this you should go to the vision settings and click on the save button.

    • This reply was modified 3 years, 6 months ago by Avirtum.
    Thread Starter caterweb

    (@caterweb)

    Saved settings but had still problems: at this point no warning message, i saw the image but not active points and tooltips.
    Had to duplicate the item, delete previous and replace old shortcode with new all around, that seems to make it work.
    Thanks.

    Plugin Author Avirtum

    (@avirtum)

    I can help via email. Write me to avirtum[@]gmail.com

    Thread Starter caterweb

    (@caterweb)

    Thanks, but – as said – after duplicating item things seems to work now.
    I’ll contact you if i need further help
    Best regards
    Alberto

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Plugin error after updating to 1.4.1’ is closed to new replies.