Title: get_option() error
Last modified: August 20, 2016

---

# get_option() error

 *  Resolved [Colir](https://wordpress.org/support/users/colir/)
 * (@colir)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/get_option-error-1/)
 * 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/](http://wordpress.org/extend/plugins/yet-another-related-posts-plugin/)

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Thread Starter [Colir](https://wordpress.org/support/users/colir/)
 * (@colir)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/get_option-error-1/#post-3471976)
 * 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
 *  [mitcho (Michael Yoshitaka Erlewine)](https://wordpress.org/support/users/mitchoyoshitaka/)
 * (@mitchoyoshitaka)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/get_option-error-1/#post-3472079)
 * [@colir](https://wordpress.org/support/users/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?
 *  Thread Starter [Colir](https://wordpress.org/support/users/colir/)
 * (@colir)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/get_option-error-1/#post-3472081)
 * 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)
 *  [makinmyway](https://wordpress.org/support/users/makinmyway/)
 * (@makinmyway)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/get_option-error-1/#post-3472086)
 * 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](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
 *  [mitcho (Michael Yoshitaka Erlewine)](https://wordpress.org/support/users/mitchoyoshitaka/)
 * (@mitchoyoshitaka)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/get_option-error-1/#post-3472087)
 * 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](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!
 *  [dallasm](https://wordpress.org/support/users/dallasm/)
 * (@dallasm)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/get_option-error-1/#post-3472092)
 * Hi, Worked for me, thanks!
    I’m still working on getting the related posts to
   display but it fixed the wp-admin crash.
 *  [Kimbesa](https://wordpress.org/support/users/kimbesa/)
 * (@kimbesa)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/get_option-error-1/#post-3472093)
 * 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!
 *  [ThE_ED](https://wordpress.org/support/users/the_ed/)
 * (@the_ed)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/get_option-error-1/#post-3472101)
 * Your update works for me, Mitcho.
 * Thanks!
 *  [mitcho (Michael Yoshitaka Erlewine)](https://wordpress.org/support/users/mitchoyoshitaka/)
 * (@mitchoyoshitaka)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/get_option-error-1/#post-3472105)
 * Wonderful! Version 4.0.5 has been pushed out:
 * [http://downloads.wordpress.org/plugin/yet-another-related-posts-plugin.4.0.5.zip](http://downloads.wordpress.org/plugin/yet-another-related-posts-plugin.4.0.5.zip)
 * [@kimbesa](https://wordpress.org/support/users/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.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘get_option() error’ is closed to new replies.

 * ![](https://ps.w.org/yet-another-related-posts-plugin/assets/icon-256x256.png?
   rev=2549977)
 * [YARPP - Yet Another Related Posts Plugin](https://wordpress.org/plugins/yet-another-related-posts-plugin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/yet-another-related-posts-plugin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/yet-another-related-posts-plugin/)
 * [Active Topics](https://wordpress.org/support/plugin/yet-another-related-posts-plugin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/yet-another-related-posts-plugin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/yet-another-related-posts-plugin/reviews/)

 * 9 replies
 * 6 participants
 * Last reply from: [mitcho (Michael Yoshitaka Erlewine)](https://wordpress.org/support/users/mitchoyoshitaka/)
 * Last activity: [13 years, 5 months ago](https://wordpress.org/support/topic/get_option-error-1/#post-3472105)
 * Status: resolved