WordPress.org

Ready to get started?Download WordPress

Forums

WP Document Revisions
[resolved] Broken by New Theme Prefiew (4 posts)

  1. AngusP
    Member
    Posted 2 years ago #

    Probably the last thing that you wanted, but here goes:
    Upon opening the live theme editor for the default 'TwentyEleven' (Although the problem is the same for any theme) PHP throws the error

    'Fatal error: Cannot redeclare class Document_Revisions_Admin in /Applications/XAMPP/xamppfiles/htdocs/wp-content/plugins/wp-document-revisions/includes/admin.php on line 9'
    which means that the WordPress process has terminated and hence there is a blank screen in view (completely blank for servers with error reporting off). As you can see from the error, the class is upsetting it. At the moment there are no documents actually in the WP Document Revisions post type/section (whatever you want to call it) on this install.

    Basic info: WordPress 3.4 UNIX server Apache PHP 5.3.1
    Multisite install (subdomain type). This sometimes makes a difference...

    Thanks in advance for listening.

    http://wordpress.org/extend/plugins/wp-document-revisions/

  2. Ben Balter
    Member
    Plugin Author

    Posted 2 years ago #

    Sorry for the trouble, and look for a fix to this very soon.

    I've opened a ticket on GitHub if you'd like to follow the fix's progress.

    Thanks for taking the time to report and diagnose the problem.

  3. Ben Balter
    Member
    Plugin Author

    Posted 2 years ago #

    If you could please give the development version a try, the problem should be fixed there, but there's also a bigger change to make the fix a bit more elegant, that I'm hoping doesn't break anything... it passed all the (unit) tests at least :)

    https://github.com/benbalter/WP-Document-Revisions/tree/develop
    zip: https://github.com/benbalter/WP-Document-Revisions/zipball/develop

  4. Ben Balter
    Member
    Plugin Author

    Posted 2 years ago #

    Marking the post as resolved (development version) and look for a stable release soon.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic