[NSFW] Installation Error
-
I have tried to install the plug-in and it fails on activation. I am running WordPress 5.4.1 and PHP 7.3.18-1+ubuntu18.04.1+deb.sury.org+1 with MySQL version 5.7.29-32-log. Seems like there is a SQL syntax error when creating the tables ??
This is the WordPress error received
[Tue Jun 02 20:00:47.793299 2020] [php7:notice] [pid 30118] [client 86.182.80.181:52568] 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 ‘rating_postid INT(11) NOT NULL ,rating_posttitle TEXT NOT NULL,rating_rating INT’ at line 1 for query ALTER TABLE wp_ratings CHANGE COLUMN
rating_id
rating_id INT(11) NOT NULL auto_increment,rating_postid INT(11) NOT NULL ,rating_posttitle TEXT NOT NULL,rating_rating INT(2) NOT NULL ,rating_timestamp VARCHAR(15) NOT NULL ,rating_ip VARCHAR(40) NOT NULL ,rating_host VARCHAR(200) NOT NULL,rating_username VARCHAR(50) NOT NULL,rating_userid int(10) NOT NULL default ‘0’,PRIMARY KEY (rating_id),KEY rating_userid (rating_userid),KEY rating_postid_ip (rating_postid, rating_ip) /* From [bags-of-books.co.uk/wp-admin/network/plugins.php?action=activate&networkwide=1&plugin=wp-postratings%2Fwp-postratings.php&_wpnonce=9d69864a0d] in [/nas/content/live/bagsofbomaster/wp-content/plugins/wp-postratings/includes/postratings-activation.php:56] */ made by require(‘wp-admin/plugins.php’), activate_plugin, do_action(‘activate_wp-postratings/wp-postratings.php’), WP_Hook->do_action, WP_Hook->apply_filters, ratings_activation, ratings_activate, dbDelta, referer: https://bags-of-books.co.uk/wp-admin/network/update.php?action=upload-plugin
- The topic ‘[NSFW] Installation Error’ is closed to new replies.