Title: Database Error from ver 1.4
Last modified: February 18, 2025

---

# Database Error from ver 1.4

 *  [F R](https://wordpress.org/support/users/frosado/)
 * (@frosado)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/database-error-from-ver-1-4/)
 * Hello. About one hour ago, the Insert PHP Code Snippets plugin for WordPress 
   ver 1.4 started generating MySQL database errors every few seconds. The errors
   look as follows: 
   DATE: Tue, 18 Feb 2025 15:12:28 -0400SITE: [https://[REDACTED]IP](https://[REDACTED]IP):[
   REDACTED]UA: WordPress/6.7.2; [https://[REDACTED]SCRIPT](https://[REDACTED]SCRIPT):/
   index.phpREQUEST: /?wp_scrape_key=[REDACTED]&wp_scrape_nonce=[REDACTED]————————————————–
   SELECT * FROM wp_xyz_ips_short_code WHERE insertionMethod = 1 AND status = 1Unknown
   column ‘insertionMethod’ in ‘where clause’ ————————————————–
 * and
 * DATE: Tue, 18 Feb 2025 15:12:37 -0400SITE: [https://[REDACTED]IP](https://[REDACTED]IP):[
   REDACTED]UA: WordPress/6.7.2; [https://[REDACTED]SCRIPT](https://[REDACTED]SCRIPT):/
   wp-cron.phpREQUEST: /wp-cron.php?doing_wp_cron=[REDACTED]————————————————– SELECT*
   FROM wp_xyz_ips_short_code WHERE insertionMethod = 1 AND status = 1Unknown column‘
   insertionMethod’ in ‘where clause’ ————————————————–
   The same database error 
   of “Unknown column ‘insertionMethod’ in ‘where clause'” keeps being generated
   multiple times per user session. There seems to be a problem with the version
   1.4 plugin calling a database column that does not exist. Can this be fixed please?
   Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [anjalixyzscripts](https://wordpress.org/support/users/anjali94/)
 * (@anjali94)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/database-error-from-ver-1-4/#post-18315073)
 * Hello [@frosado](https://wordpress.org/support/users/frosado/) 
   Thanks for reaching
   out. The error occurs because **v1.4 introduced new database columns**, including`
   insertionMethod`, which might not have been added during the upgrade.
 * To fix this, please:
    1. **Deactivate and reactivate** the Insert PHP Code Snippet plugin. This will 
       trigger the required database updates.
    2. **Clear the plugin cache**, if applicable.
 * This should resolve the issue. If the problem persists, please let us know, and
   we’ll be happy to assist further.
 *  [cristianoff](https://wordpress.org/support/users/cristianoff/)
 * (@cristianoff)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/database-error-from-ver-1-4/#post-18315976)
 * Hi, I found the same error in the logs after my website was completely blocked.
   
   Renaming insert-php-code-snippet I solved the issue and fortunately the plugin
   was used only for testing.If I rollback directory rename, I suppose I will break
   the site again, and I cannot Activate since the site is not accessible when the
   plugin is in error.How can I proceed manually?

Viewing 2 replies - 1 through 2 (of 2 total)

 The topic ‘Database Error from ver 1.4’ is closed to new replies.

 * ![](https://ps.w.org/insert-php-code-snippet/assets/icon-128x128.png?rev=1800967)
 * [Insert PHP Code Snippet](https://wordpress.org/plugins/insert-php-code-snippet/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/insert-php-code-snippet/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/insert-php-code-snippet/)
 * [Active Topics](https://wordpress.org/support/plugin/insert-php-code-snippet/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/insert-php-code-snippet/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/insert-php-code-snippet/reviews/)

 * 2 replies
 * 6 participants
 * Last reply from: [cristianoff](https://wordpress.org/support/users/cristianoff/)
 * Last activity: [1 year, 7 months ago](https://wordpress.org/support/topic/database-error-from-ver-1-4/#post-18315976)
 * Status: not resolved