Title: Error activating plugin
Last modified: June 5, 2019

---

# Error activating plugin

 *  Resolved [JohnLatham](https://wordpress.org/support/users/johnlatham/)
 * (@johnlatham)
 * [7 years ago](https://wordpress.org/support/topic/error-activating-plugin-44/)
 * I am unable to activate the most recent version of the insert-php plugin. It 
   installs fine, but when I try to activate it I get the following error message.
 * `Cannot declare class Post, because the name is already in use in /var/www/html/
   wp-content/plugins/insert-php/includes/jsonmapper/class/post.php on line 15`

Viewing 1 replies (of 1 total)

 *  [Temyk](https://wordpress.org/support/users/webtemyk/)
 * (@webtemyk)
 * [6 years, 12 months ago](https://wordpress.org/support/topic/error-activating-plugin-44/#post-11621388)
 * Hi,
 * The problem is fixed in the latest version of Woody 2.2.4

Viewing 1 replies (of 1 total)

The topic ‘Error activating plugin’ is closed to new replies.

 * ![](https://ps.w.org/insert-php/assets/icon-256x256.gif?rev=3523853)
 * [Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts](https://wordpress.org/plugins/insert-php/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/insert-php/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/insert-php/)
 * [Active Topics](https://wordpress.org/support/plugin/insert-php/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/insert-php/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/insert-php/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Temyk](https://wordpress.org/support/users/webtemyk/)
 * Last activity: [6 years, 12 months ago](https://wordpress.org/support/topic/error-activating-plugin-44/#post-11621388)
 * Status: resolved