The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

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

  1. AngusP
    Posted 4 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.


  2. Ben Balter
    Plugin Author

    Posted 4 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
    Plugin Author

    Posted 4 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 :)

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

  4. Ben Balter
    Plugin Author

    Posted 4 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

  • WP Document Revisions
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic