Viewing 1 replies (of 1 total)
  • Plugin Author Gabor

    (@nextendweb_gabor)

    Hi @howdy_mcgee !

    This is connected to the part, where we put our slider to the site origin page builder’s modules. Please try out two things. I think the returned value for you will be “false” for some reason, so in that file in line 150.:
    if(get_class($the_widget) === 'NextendSmartSlider2Widget' && is_admin()){

    Please try out to modify it to this instead:
    if($the_widget!=false && get_class($the_widget) === 'NextendSmartSlider2Widget' && is_admin()){

    But if the value isn’t “false”, then you could also try this instead:
    if(is_object($the_widget) && get_class($the_widget) === 'NextendSmartSlider2Widget' && is_admin()){

    Just to check if it’s an object.

Viewing 1 replies (of 1 total)

The topic ‘Consistent PHP Warning’ is closed to new replies.