There are multiple ways to fix this. You can either remove the if-condition containing SHOW TABLES LIKE
(remove lines: 117, 135 and 137, 157). That should work as the dbDelta function checks itself if the tables are already presend.
Or you could just add some single quotes to the table names in the lines 117 and 137:
"SHOW TABLES LIKE '$jsrm_menu_table'"
Related Posts:
- after wordpress update to 3.5+ i get many errors in plugin wpdb::prepare()
- Help With MySQL to WPDB Query Conversion
- Write mysql credentials in plugin
- Is there a plugin that will override the “Error establishing a database connection” message? [closed]
- How to delete all records from or empty a custom database table?
- How to properly insert data into custom table via plugin
- How does WordPress handle MySQL row lock errors?
- Can I explicitly specify ENGINE=InnoDB in WordPress?
- Bad Request (Invalid Hostname) on working server, database problem
- $wpdb->get_results() does not fetch results with unicode ‘WHERE’ clause
- What causes the “max_user_connections” warning on WordPress frontend?
- Changing BIGINT to INT
- greatest() function returns undefined property
- How to write one comment and publish on every post using database or plugin?
- How to determine what is generating large amount of database queries?
- Doubt using $wpbd->get_col for a single column
- Access WordPress database outside of WordPress
- Creating mySQL procedure with $wpdb
- How can I perform high-level database merging for WordPress within continues delivery?
- WordPress Backend HA (Automatic failover)
- Automatic switch to backup database on fail
- Migrating to WordPress Recipe Plugin and Some SQL Issues
- Create a table with wordpress plugin boilerplate
- Multiple instance of data in plugin custom database table on plugin activation
- plugin code is pulling information from database in one instance and not in other. What is wrong?
- Better ads plugin has 500.000 entries in wp_postmeta
- Cannot get wpdb data (Error in a simple fuction) [closed]
- WPDB: Update table
- Issue running db create table query from static method
- dbDelta not adding additional columns in plugin database update
- Always get creating a new table with foreign key
- How to do database for download stats?
- Getting error “Warning: mysql_query(): Can’t connect to local MySQL server through socket ‘FILEPATH/cccatalog-plugin.php on line 1656”
- DB Query not working in Plugin
- External wpdb connections in different plugins on single page
- WordPress plugin: efficient way to store large data
- How to access the WordPress DB from a plugin file
- Integrating Custom Database with WordPress
- How to display results from a data table with an encrypted user id?
- add_action for publish_post doesn’t work
- What database state changes happen after a post is manually “updated” with no changes?
- Cant create table on plugin activation
- $wpdb->delete not working for me
- Performing CRUD operations on front end in wordpress
- How to securely controlling data without keeping it in postmeta?
- Store GravityForm data in phpmyadmin (mysql)
- Moving a few select DB tables to a new WP instance
- WordPress database problem wp_posts, primary key
- HyperDB failover Delay
- A plugin is giving me “You do not have sufficient permissions to access this page.” error
- Is there a plugin that will override the “Error establishing a database connection” message? [closed]
- Is it safe to increase/alter the size of the wp_post.guid column from VARCHAR(255) to VARCHAR(2048)?
- Get all the related data from WordPress DB
- How can I delete the options from DB when the plugin is deleted?
- How to return number of found rows from SELECT query
- Get error messages when $wpdb->insert() returns false?
- $wpdb->prepare() warning in WordPress 3.5
- How to run Two WordPress blogs with different themes and with single database and same content
- PHP Deprecated: Non-static method should not be called statically
- Create custom column in post table in wordpress
- Add agenda items and notifications
- $wpdb variable throw this error Call to a member function get_results() on a non-object in
- WordPress register_activation_hook table creation not working
- How to add Edit | Delete button on rows?
- The plugin generated x characters of unexpected output, $wpdb not defined
- How to remove duplicate Custom Fields?
- Unable to activate wordpress importer after installing it
- Weird problems after recovery from security breach
- Get total number of comment of the posts written by an author
- Saving Custom Post types and fields to a custom table
- When to use action hooks and plugins
- How to create custom tables in WordPress using my own plugin?
- WooCommerce Checkout Error [closed]
- Plugin: Google Analytics for Dashboard error – Timestamp is too far from current time
- WordPress + JavaScipt + AJAX + MySQL: insert query for form
- HTTP 500 error after plugin install
- How to keep variable `$post` to using in another file
- Plugin getting Cannot modify header information errors
- Making my plugin create a page?
- Add some fileds to the wp_posts table
- Query Column of Specific ID from Database Table
- Way to send multiple values for column to MySQL?
- Store plugin page content in wp_options?
- Undefined index: ratings_score …/wp-postratings.php on line 994
- Error activating certain plugins
- Bulk Edit Media Library alt, caption, image names
- I imported an restore an database and It shows #1067 – Invalid default value for ‘user_registered’
- Critical Error after Updraft Restoration
- dbDelta not CREATING TABLE
- Delete user meta based on key value that is an array
- WP default file upload hook not working if used in a plugin
- How To connect to the same WordPress database with different database user
- How to save information related to post in database?
- RSS Feed has no Items (Possible Plugins Conflict)
- Creating fields in the database
- Allow users to enter and edit data in one-to-many configuration
- WordPress Customer Reviews Error: Line 239?
- how to search through plugin in wordpress cimy-user-extra-fields?
- WordPress Plugins Error
- Edit a page/post DB data?