WordPress.org

Ready to get started?Download WordPress

Forums

Yet Another Related Posts Plugin (YARPP)
[resolved] get_option() error (10 posts)

  1. Colir
    Member
    Posted 1 year ago #

    Hi,
    when i udpate or make a clean install of yarpp 4.04
    i've this fatal erro when activate the plugin

    Fatal error: Call to a member function get_option() on a non-object in D:\projets\oh-mg\fresh-mountain\www\wp-content\plugins\yet-another-related-posts-plugin\yarpp.php on line 54

    Any idea on how to solve this ?
    thanks

    http://wordpress.org/extend/plugins/yet-another-related-posts-plugin/

  2. Colir
    Member
    Posted 1 year ago #

    ok,
    solve it's appear that when we unistall the plugin some setting relative to yarpp are still in the wp-option table.
    I clean all the yarpp reference in this table, and it work great now

  3. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 1 year ago #

    @Colir thanks for letting me know... others have reported similar issues with the latest version, and I'd like to fix it. A few questions:

    1. Have you used YARPP before on this WordPress site?
    2. Did you install this by copying the files into wp-content, or using the builtin plugin installer?
    3. If you updated, did you update together with other plugins, or did you just update this one?

  4. Colir
    Member
    Posted 1 year ago #

    Hi Mitcho,
    here is my answer :
    - yes i already use the plugin, and i just proceed to an upgrade via the buitin process.
    i've only update this one.

    If this can help you, i dont remember from wich version i update, but i think that it was a later version (perhapas 3.2.2 i think)

  5. makinmyway
    Member
    Posted 1 year ago #

    I'm having the same issue. Today I tried to update your plug in to 4.0.4 and it crashed my site as well as the wordpress work space for my site. Any time I try to move to a different screen in http://www.momentumsc.com/wp/wp-admi, I get this error message:

    Fatal error: Call to a member function get_option() on a non-object in /home/momentum/public_html/wp/wp-content/plugins/yet-another-related-posts-plugin/yarpp.php on line 54

    I had just updated some posts and checked to see that they are working and was prompted to update your plugin. That's when this trouble started.

    To answer your questions above to Colir see my answers below:

    1. Have you used YARPP before on this WordPress site? yes
    2. Did you install this by copying the files into wp-content, or using the builtin plugin installer? plugin
    3. If you updated, did you update together with other plugins, or did you just update this one? with two other plugins (Page Links To and ShareThis)

    How can we fix this? I need to have my site up and running again.

    Michael

  6. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 1 year ago #

    Hi all,

    I believe this issue might be resolved in this new beta:

    http://downloads.wordpress.org/plugin/yet-another-related-posts-plugin.4.0.5b1.zip

    Please give it a try. As this is an urgent bugfix, if I can confirm that it improves the situation for a number of people, without introducing new bugs, I would like to push this version 4.0.5 out soon. Thanks in advance for your feedback!

  7. dallasm
    Member
    Posted 1 year ago #

    Hi, Worked for me, thanks!
    I'm still working on getting the related posts to display but it fixed the wp-admin crash.

  8. Kimbesa
    Member
    Posted 1 year ago #

    Hello Mitcho,

    I've uploaded the beta zip file you posted yesterday, and I have a back up of my blog.

    But I'm not very technical, and I don't know what to do with the extracted zip file. I cannot log into my blog via the Admin page.

    Please advise,
    Thanks!

    (I had updated WordPress from 3.1 to 3.5.1, and was updating all the reactivated plug ins from within the Admin dashboard when I got the "Fatal error....line 54" error message. All the other plug ins seemed to update okay, YARPP was the last one.)

    Thanks!

  9. ThE_ED
    Member
    Posted 1 year ago #

    Your update works for me, Mitcho.

    Thanks!

  10. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 1 year ago #

    Wonderful! Version 4.0.5 has been pushed out:

    http://downloads.wordpress.org/plugin/yet-another-related-posts-plugin.4.0.5.zip

    @Kimbesa: you should now be able to use WordPress's plugin updater to update YARPP to the latest version, which should not have this issue.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.