WordPress.org

Forums

Olimometer
SQL error on activation/deactivation (1 post)

  1. billc108
    Member
    Posted 8 months ago #

    I'm getting this error when activating or deactivating the latest version of olimometer.

    Using WP-CLI:

    103:test4 billc$ wp plugin activate olimometer
    WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '0' at line 1 for query SELECT COUNT(*) FROM 0; made by include('phar:///opt/local/bin/wp/php/boot-phar.php'), include('phar:///opt/local/bin/wp/php/wp-cli.php'), WP_CLI\Runner->after_wp_load, WP_CLI\Runner->_run_command, WP_CLI\Runner->run_command, WP_CLI\Dispatcher\Subcommand->invoke, call_user_func, WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}, call_user_func, Plugin_Command->activate, activate_plugin, do_action('activate_olimometer/olimometer.php'), call_user_func_array, olimometer_install

    from the error log when activating/deactivating via WP Admin:

    WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '0' at line 1 for query SELECT COUNT(*) FROM 0; made by activate_plugin, do_action('activate_olimometer/olimometer.php'), call_user_func_array, olimometer_install, referer: http://{mydomain}/wp-admin/plugins.php?deactivate=true&plugin_status=all&paged=1&s=

    Setup: Apache 2.2.27 / PHP 5.5.15 / MySQL 5.5.38

    https://wordpress.org/plugins/olimometer/

Reply

You must log in to post.

About this Plugin

About this Topic