Cannot redeclare flush_rewrite_rules() (previously declared

Discussion in 'WordPress' started by tyankee, Jan 14, 2013.

  1. #1
    have a plugin that is now giving this error message when activating:

    Fatal error: Cannot redeclare flush_rewrite_rules() (previously declared in /home/userwco/public_html/wordpress/wp-includes/rewrite.php:106) in /home/userwco/public_html/wordpress/wp-content/plugins/wptrader/wptrader.php on line 219

    this was working fine with wordpress 3.4 i think but just tried installing on another blog and now getting this error.. all other plugins are deactivated. i'll pay someone to help me fix this if need be.
     
    tyankee, Jan 14, 2013 IP
  2. acquifolio

    acquifolio Well-Known Member

    Messages:
    410
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    135
    #2
    check you are using the latest version of wptrader
    if not upgrade

    if you have the error still try comment line 219 out (add // to the start of it)

    let us know if you still have the error
    I post wordpress error fixes here Wordpress error
     
    acquifolio, Jan 15, 2013 IP