WordPress.org

Ready to get started?Download WordPress

Forums

Post Snippets
[resolved] Conflict with WordPress Download Monitor (5 posts)

  1. myatu
    Member
    Posted 2 years ago #

    Using Post Snippets 1.8.9.1 and WordPress Download Monitor 3.3.5.4.

    When adding or editing a Post, WordPress Download Monitor adds an icon in the "upload/insert" row (same row for the Media icon). With Post Snippets enabled, clicking said icon, the following fatal error is produced (file path truncated):

    Fatal error: Class 'Post_Snippets_Help' not found in /(...)/wp-content/plugins/post-snippets/post-snippets.php on line 459

    http://wordpress.org/extend/plugins/post-snippets/

  2. Johan Steen
    Member
    Plugin Author

    Posted 2 years ago #

    @Myatu: Thanks for the report. I can reproduce your issue. Checking into the cause, it seems like WordPress Download Monitor bootstraps wp admin without the is_admin() flag getting set. Without is_admin() set, Post Snippets doesn't load admin classes (to speed up frontend), which causes it to fail when WDM bootstrap wp admin. I can add an extra check in Post Snippets, to see if it is loaded in an unusual way like this, to make it work in this circumstance.

  3. Johan Steen
    Member
    Plugin Author

    Posted 2 years ago #

    @Myatu: Update to the latest version, 1.8.9.2, it should handle the WordPress Download Monitor environment fine.

    Cheers,
    Johan

  4. myatu
    Member
    Posted 2 years ago #

    Works, thanks very much!

  5. Clifford Paulick
    Member
    Posted 2 years ago #

    Thank you. I experienced the same and included a link to this solution on Download Monitor's Forum as well, including a screen shot of what the error looked like:
    http://wordpress.org/support/topic/plugin-wordpress-download-monitor-conflict-with-post-snippets-plugin

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic