WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Error on changing parameters (4 posts)

  1. bobbeers
    Member
    Posted 6 years ago #

    I am trying to uncheck the Options/Discussion checkbox "Comment author must have previously approved comment" from checked status. It has been checked through the past several standard version upgrades and updates. When I save the page with the box unchecked, I get an error:

    Fatal error: Cannot redeclare sanitize_option() (previously declared in /wordpress/wp-admin/options.php:13) in /wordpress/wp-includes/formatting.php on line 1121

    Any ideas?

  2. bobbeers
    Member
    Posted 6 years ago #

    Update: this error occurs with any attempt to update options.

  3. bobbeers
    Member
    Posted 6 years ago #

    Update: this error occurs with any attempt to update options.

  4. bobbeers
    Member
    Posted 6 years ago #

    I found this post elsewhere:

    http://wordpress.org/support/topic/133387?replies=5

    in which a coder with my problem commented out the sanitize_option() function from wp-includes/formatting.php and the immediate error went away. I tried it with the same results.

    Now two of us are crossing our fingers that this won't cause another problem somewhere inside WP's guts.

Topic Closed

This topic has been closed to new replies.

About this Topic