WordPress.org

Ready to get started?Download WordPress

Forums

Yet Another Related Posts Plugin (YARPP)
[Plugin: Yet Another Related Posts Plugin] Fatal error: Cannot redeclare textbox()... (11 posts)

  1. tmalcolm
    Member
    Posted 4 years ago #

    Hey guys,
    I just installed yarpp into a WP 3.0 installation, activated it just fine, went into settings and received this error message.

    Fatal error: Cannot redeclare textbox() (previously declared in...(then a long directory string is shown here)

    Any ideas?

    Thanks,

    Tom

  2. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 4 years ago #

    Tom, posting that "long directory string" would actually be very helpful. Most likely this is a plugin incompatibility.

  3. tmalcolm
    Member
    Posted 4 years ago #

    Hi Mitch,

    Thanks for the response. Here is the entire error:

    Fatal error: Cannot redeclare textbox() (previously declared in /home/voip/public_html/wp-content/themes/magazine-basic/functions.php:341) in /home/voip/public_html/wp-content/plugins/yet-another-related-posts-plugin/options.php on line 129

    Thanks!

    Tom

  4. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 4 years ago #

    Tom, is this a common theme? This is the first time I've heard of this issue. It's something that's probably more appropriate to fix on my end, but I'm going to leave that for my next release. I've made a ticket for it:

    http://plugins.trac.wordpress.org/ticket/1145

    In the mean time, you could see whether you're actually using that textbox() function from your theme or not. Try commenting out the function definition for textbox() in that Magazine Basic file.

  5. tmalcolm
    Member
    Posted 4 years ago #

    Hi Mitch,

    Yes, it's a common theme, it's Magazine Basic.
    http://themes.bavotasan.com/our-themes/basic-themes/magazine-basic/

    I'll try your suggestion.

    Tom

  6. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 4 years ago #

    @tmalcolm I just ask because this is the first time I've heard this issue reported.

  7. DailyPokerFix
    Member
    Posted 3 years ago #

    I'm having the exact same problem with Magazine Premium.

    Fatal error: Cannot redeclare textbox() (previously declared in /home/razzbot1/public_html/dailypokerfix.com/wp-content/themes/magazine-premium/functions.php:924) in /home/razzbot1/public_html/dailypokerfix.com/wp-content/plugins/yet-another-related-posts-plugin/options.php on line 129

  8. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 3 years ago #

    I just fixed this, and you can try it out in this new beta:

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

    I hope to push this out as version 3.1.9 soon.

  9. DailyPokerFix
    Member
    Posted 3 years ago #

    Thanks, I'll give it a try and let you know if it works.

  10. DailyPokerFix
    Member
    Posted 3 years ago #

    Worked like a charm. Super easy to set up, etc., etc. Thanks for the awesome plugin!

  11. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 3 years ago #

    Fantastic. :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic