• Imagerku4er

    (@rku4er)


    Good enough, does the job.

    Try re-activating the plugin if you see anything like this in your debug logs:

    [18-Mar-2025 17:39:44 UTC] WordPress database error Unknown column ‘insertionMethod’ in ‘WHERE’ for query SELECT * FROM wp_xyz_ips_short_code WHERE insertionMethod = 1 AND status = 1 made by require(‘wp-blog-header.php’), require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), include_once(‘/plugins/insert-php-code-snippet/insert-php-code-snippet.php’), require(‘/plugins/insert-php-code-snippet/shortcode-handler.php’)

    • This topic was modified 9 months ago by Imagerku4er.
Viewing 2 replies - 1 through 2 (of 2 total)
  • 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.

    Thread Starter Imagerku4er

    (@rku4er)

    Thank you for a quick reply! I tried re-activating the plugin and this helped.

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

The topic ‘Plugin produces tons of PHP errors’ is closed to new replies.