• Resolved devrekli

    (@devrekli)


    WordPress pages have this error. How do I fix this error? I tried to reinstall wp and plugin. thanks

    Deprecated: Non-static method nggMediaRss::add_mrss_alternate_link() should not be called statically in /home2//public_html/wp-includes/class-wp-hook.php on line 286

    The server has sufficient resources. Look please screenshot https://hemenpaylas.gen.tr/image/bept

    and php 7.3 and permissions 755

    • This topic was modified 5 years ago by devrekli.
Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Support Mihai Ceban

    (@mihaiimagely)

    Can you please try to manually re-install NextGen Gallery to see if this will fix the warning?

    To manually reinstall NextGen, please first deactivate then delete it from your site’s plugins ( this process is safe for your already existing galleries and settings ) then download a fresh copy of it and install it new.

    Thread Starter devrekli

    (@devrekli)

    @mihaiimagely

    I told I tried it. Unfortunately, he didn’t solve the problem.. thanks

    • This reply was modified 5 years ago by devrekli.
    Plugin Support Mihai Ceban

    (@mihaiimagely)

    Thanks and sorry for not noticing it before from your original message. Please try to deactivate all the other plugins and leave active NextGen Gallery only. Also, activate a theme from the Twenty series then try again to see if the issue will persists.

    If the above solves the issue. Please activate back the plugins one by one testing each time in order to figure out what plugin is causing the problem.

    resunoiz

    (@resunoiz)

    common problem with the previous version too.

    theree is a public function somewhere that have to be hanged in public stati function.

    i solved it in previous release but as a stupid i updated plugin without a backup. now i have to find it again…sob

    resunoiz

    (@resunoiz)

    found again the the workaround.

    folder nextgen-gallery\products\photocrati_nextgen\modules\ngglegacy\lib\
    change, on line 10:

    	function add_mrss_alternate_link() {
    		echo "<link id='MediaRSS' rel='alternate' type='application/rss+xml' title='NextGEN Gallery RSS Feed' href='" . nggMediaRss::get_mrss_url() . "' />\n";
    	}

    with

    	static function add_mrss_alternate_link() {
    		echo "<link id='MediaRSS' rel='alternate' type='application/rss+xml' title='NextGEN Gallery RSS Feed' href='" . nggMediaRss::get_mrss_url() . "' />\n";
    	}
    gabyimagely

    (@gabyimagely)

    Hello @resunoiz

    Thank you for letting us know.
    Is it possible for you to share this findings with us?
    It will be great to have that fixed back in our plugin.

    Please use this form https://www.imagely.com/report-bug/
    Do not forget to include the URL to this forum thread, let them know that Gaby refers you.

    Many thanks!

    Thread Starter devrekli

    (@devrekli)

    @resunoiz

    thanks

    Thread Starter devrekli

    (@devrekli)

    @gabyimagely

    I’m showing you the problems here. You always give the same answer. your answer: re-install or system requirements.

    We are already making them first and checking.

    We are opening a topic in this forum. Why don’t you report bugs?

    gabyimagely

    (@gabyimagely)

    Hello @devrekli,

    Sorry for all the inconvenience, we only follow the protocol because most of the problems are solved with those initial steps. We do apologize if it seems that we are repeating ourselves, but we want to be sure our requirements are meant and that the plugin does not have any corrupted file.

    We do thank @resunoiz and the rest of the community for their amazing contribution.
    But we do need that bug report so we can escalate this back to the developers.
    Does that sound ok?

    Please, feel free to contact us back.
    We are happy to help!

    sorry for late response.
    I read only now, because of a new update..and the error still there XD
    I will continue with my fix and not update the plug: the problem is that my customer have a lot of nextgen galleries in old posts and there is not a tool to convert in legacy galleries, the proper fix would be completely remove the plug.

    OBVIOUSLY, you can’t recreate the bug in my site: I will obviously use my fix to avoid the error

    i will submit the bug now.
    EDIT: your site crashs submitting debug.

    • This reply was modified 4 years, 12 months ago by resunoiz.
    • This reply was modified 4 years, 12 months ago by resunoiz.

    Hello @resunoiz,

    Thank you so much for that, but report.
    We wanted to let you know that an issue has already been created and escalated back to our developers.

    On the other hand, we are curious about this particular message: “EDIT: your site crashs submitting debug.”

    Could you please elaborate a bit more?
    Many thanks!

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Deprecated: Non-static method nggMediaRss?’ is closed to new replies.