WordPress.org

Forums

2.9x: Fatal error: Cannot redeclare class services_json (5 posts)

  1. mapan
    Member
    Posted 5 years ago #

    I always kept my wordpress up to date.

    As the 2.9 came up, I updated by auto-update without erros.
    But suddenly my "Create New Article" Function didn´t work anymore.
    So I used my backup to continue using the previos version.

    Now I updated to 2.91. Again with Auto-update, again without errors.
    But again I get a Malfunktion when I try to create a new article:

    Fatal error: Cannot redeclare class services_json in /var/www/(*Webspace*)/html/blog/wp-includes/class-json.php on line 114

    I don´t have a clue what to do now to get 2.91 running.

    The Blog itself seems to keep running and working for users. But I can´t create new articles and maybe some other things. Dashboard opens normaly!

  2. mapan
    Member
    Posted 5 years ago #

    My PHP and MySQL are both v5.x

  3. mapan
    Member
    Posted 5 years ago #

    Strange..
    No Ideas?

  4. siropel
    Member
    Posted 5 years ago #

    I have the same problem with wordpress 2.9.1 with php 5.2.12 (centos), json enabled.
    Any ideas?

  5. scribu
    Member
    Posted 5 years ago #

    WordPress 2.9 includes the Services_JSON class for compatibility with PHP < 5.2

    One of your plugins also tries to include the same class.

    See http://core.trac.wordpress.org/ticket/11827

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags