• Hi there. I just installed your plugins and think it could be a great addition to my site. But I ran into a conflict error that I can’t seem to resolve.
    I have the same problem as with this poster https://www.ads-software.com/support/topic/error-searching-for-movie-data/
    had except I had no games installed. However I traced it to Gantry 4 and the widgets in it. Since my theme runs off the latest version of Gantry 4 and it can not update to 5 I am stuck.

    Here is a sample of what I get and it goes straight down about ten lines with different Gantry widgets which I can’t remove but are not even activated on my site.
    Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method GantryWidgetResetSettings::init() should not be called statically in /home/88888/8888/888/wp-includes/class-wp-hook.php on line 298

    Any suggestions would be appreciated

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,

    Gantry dev here. Are you using latest Gantry 4? I’m asking because this issue shouldn’t exist there. If not please update. If that won’t resolve it, please check your-theme-directory/widgets/ and search for resetsettings.php.

    In that file you need to replace :
    function init()
    with:
    static function init()

    This should solve this issue

    • This reply was modified 7 years, 10 months ago by Gantry.
    Thread Starter m8trix

    (@m8trix)

    Thank you for the reply.
    To answer your question yes. everything is up to date. I try to stay on top of that. I even updated the old theme I am using Leviathan to 1.1 from 1.0. I know its an older theme but it works well for my needs. And i had no need to change the the function it already was static

    ` static function init()
    {
    register_widget(“GantryWidgetResetSettings”);
    }
    `

    What I noted as I was going through the widgets is the version dates of the widgets are from 2014 and the gantry update has 2016. So i don’t know if that has anything to do with it.

    Also to fill you in on what I have done. I wanted to make sure before I responded that I did at least all the basic checks like disabling all the plugins then reenabling them one by one. That made no difference all the gantry widgets came up with the conflict. So we can rule that out. For now unless there is another plugin even if its deactivated would cause this.

    Hmm this is odd. If the function is set to static – it should work. Can you paste your site url?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Conflict with Gantry 4’ is closed to new replies.