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

  1. myatu
    Posted 4 years ago #

    Using Post Snippets and WordPress Download Monitor

    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


  2. Johan Steen
    Plugin Author

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

    Posted 4 years ago #

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


  4. myatu
    Posted 4 years ago #

    Works, thanks very much!

  5. Clifford Paulick
    Posted 4 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:

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Post Snippets
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic