ta5ae
Forum Replies Created
-
Initial look at the code repo suggests a change from
SPWPS_Fields to SPF_WPSP_Fields was made.
So I suspect this has not been changed through out the codebase.
I have pinned my site to using version 2.4.3 for now.
Thanks for a efforts with the plugin.
Thanks for the quick reply. Good luck with your changes.
Luckily on the Table Edit screen, the Table Contents’ collapse setting appears to be a sticky/persistent setting. Is this personal or for all site users?
Thanks again.
Forum: Plugins
In reply to: [User Access Manager] SQL ErrorsPlugin installed. FYI: Calling just a plugin
wp plugin update user-access-manager
did not resolve the issue.I diffed the code to find the function, I realise that by at the backend you meant through the web and the WordPress admin interface – Dashboard interface.
After logging into the specific sites with the plugin installed I have seen on the dashboard:
“Please update the database of the User Access Manager. Click here to proceed”
After clicking this:
I have performed the “Repair the database” and “Update User Access Manager database” functions.
All is well.
Thanks for the prompt release and fix!
Forum: Plugins
In reply to: [User Access Manager] SQL ErrorsForum: Plugins
In reply to: [User Access Manager] SQL ErrorsI also see this issue whilst running latest WordPress (4.8.2) and PHP 5.6.31 on a multisite installation.
As I have recently upgraded to PHP 5.6, I tried reinstalling the plugin in case DB updates needed to be re-run. I have also tried rolling back the plugin to 1.2.14. Then updating the plugin afresh to no avail.
NB: There appears to be an if clause when this field is added to the database. Is this a bug in the calling code or a problem with our installations that this field is missing.
Thanks for your help.
Forum: Plugins
In reply to: [Multisite Enhancements] Warning now requires PHP 5.6+Forum: Plugins
In reply to: [Multisite Enhancements] Warning now requires PHP 5.6+I have a PHP 7 site that’s been running this plugin for while. The update ran fine.
Forum: Plugins
In reply to: [W3 Total Cache] Huge Slowdown After UpdatePersonally, I found that JS minification was broken in a recent release. So all requests for JS files resulted in 404s. I have disabled JS minification only on my entire network, then cleared the entire cache to resolve this issue.
PHP 5.3.x (with security backports)
WordPress 4.7.4 multisite
W3 Total Cache 0.9.5.4Forum: Plugins
In reply to: [Wordfence Security - Firewall, Malware Scan, and Login Security] sql errorI can confirm that the reported errors do not appear if the MULTISITE constant is defined. As this affects the value returned by the call to the WordFence function wfDB::networkPrefix. Which tries to find out the DB table prefix for blog site 0 with $wpdb->get_blog_prefix(0).
Unfortunately, once MULTISITE is defined this brings up other issues regarding the wp_options table. Due to the way WordPress has developed over the years, it will take some digging to resolve what are the ramifications of defining the constant MULTISITE on a multisite installation which has developed from WordPress MU days with SUNRISE defined and in use.
NB: The is_multisite() function.
Is there a reason the code does not reference the base prefix every time if only one table should ever exist for wfNotifications, wfHits etc. i.e. wp_wfNotifications vs wp_0_wfNotifications in the first place?
Forum: Plugins
In reply to: [Wordfence Security - Firewall, Malware Scan, and Login Security] sql errorFYI: We have SUNRISE defined as on, so the is_multisite function returns True in our case still.
While I will investigate my installation’s usage of the MULTISITE, this would explain why some plugins and WordPress see the site a multisite.
- This reply was modified 7 years, 7 months ago by ta5ae.
Forum: Plugins
In reply to: [Wordfence Security - Firewall, Malware Scan, and Login Security] sql errorHi @wfalaa
I inherited the WordPress installation where multi-sites were already/always enabled. AS far as I am aware it came from a WordPress MU install.
Reading around, I see that WP_ALLOW_MULTISITE allows the creation of new networks but that MULTISITE constant is expected to continue to exist and is checked in the is_multisite function and other places.
I will investigate defining the MULTISITE and or WP_ALLOW_MULTISITE constants on our demo site. I will report back on the forum, if this was the problem with my installation.
Thanks for your assistance.
Forum: Plugins
In reply to: [Wordfence Security - Firewall, Malware Scan, and Login Security] sql errorHi @wfalaa
I have sent you a report email from my demo site.
I have tried deactivating all plugins, including must use/drop in like plugin on my demo installation. Unfortunately, this does not stop the error from occurring.
I have verified that the database tables are actually removed from the database.
I have re-installed the WordFence plugin with and without deleting the tables. Unfortunately, the error remains.
Also upon activation, I see the following errors:
[Wed Apr 12 17:05:34 2017] [error] [client nnn.nnn.nnn.nnn] WordPress database error Table ‘wordpress.wp_0_wfNotifications’ doesn’t exist for query SELECT * FROM wp_0_wfNotifications WHERE
new
= 1 ANDcategory
= ‘wfplugin_keyconflict’ ORDER BYpriority
ASC,ctime
DESC LIMIT 1 made by require(‘wp-admin/plugins.php’), activate_plugin, include_once(‘/plugins/wordfence/wordfence.php’), wordfence::install_actions, wordfence::runInstall, wfAPI->call, wfNotification::getNotificationForCategory, referer: https://example.com/wp-admin/network/plugins.php?plugin_status=active&paged=1&s
[Wed Apr 12 17:05:35 2017] [error] [client nnn.nnn.nnn.nnn] WordPress database error Table ‘wordpress.wp_0_wfFileMods’ doesn’t exist for query ALTER TABLE wp_0_wfFileMods ADD COLUMN stoppedOnSignature VARCHAR(255) NOT NULL DEFAULT ” made by require(‘wp-admin/plugins.php’), activate_plugin, include_once(‘/plugins/wordfence/wordfence.php’), wordfence::install_actions, wordfence::runInstall, referer: https://example.com/wp-admin/network/plugins.php?plugin_status=active&paged=1&s
[Wed Apr 12 17:05:35 2017] [error] [client nnn.nnn.nnn.nnn] WordPress database error Table ‘wordpress.wp_0_wfFileMods’ doesn’t exist for query ALTER TABLE wp_0_wfFileMods ADD COLUMN stoppedOnPosition INT UNSIGNED NOT NULL DEFAULT ‘0’ made by require(‘wp-admin/plugins.php’), activate_plugin, include_once(‘/plugins/wordfence/wordfence.php’), wordfence::install_actions, wordfence::runInstall, referer: https://example.com/wp-admin/network/plugins.php?plugin_status=active&paged=1&s
[Wed Apr 12 17:05:35 2017] [error] [client nnn.nnn.nnn.nnn] WordPress database error Table ‘wordpress.wp_0_wfBlockedIPLog’ doesn’t exist for query ALTER TABLE wp_0_wfBlockedIPLog ADD blockType VARCHAR(50) NOT NULL DEFAULT ‘generic’ made by require(‘wp-admin/plugins.php’), activate_plugin, include_once(‘/plugins/wordfence/wordfence.php’), wordfence::install_actions, wordfence::runInstall, referer: https://example.com/wp-admin/network/plugins.php?plugin_status=active&paged=1&s
[Wed Apr 12 17:05:35 2017] [error] [client nnn.nnn.nnn.nnn] WordPress database error Table ‘wordpress.wp_0_wfBlockedIPLog’ doesn’t exist for query ALTER TABLE wp_0_wfBlockedIPLog DROP PRIMARY KEY made by require(‘wp-admin/plugins.php’), activate_plugin, include_once(‘/plugins/wordfence/wordfence.php’), wordfence::install_actions, wordfence::runInstall, referer: https://example.com/wp-admin/network/plugins.php?plugin_status=active&paged=1&s
[Wed Apr 12 17:05:35 2017] [error] [client nnn.nnn.nnn.nnn] WordPress database error Table ‘wordpress.wp_0_wfBlockedIPLog’ doesn’t exist for query ALTER TABLE wp_0_wfBlockedIPLog ADD PRIMARY KEY (IP, unixday, blockType) made by require(‘wp-admin/plugins.php’), activate_plugin, include_once(‘/plugins/wordfence/wordfence.php’), wordfence::install_actions, wordfence::runInstall, referer: https://example.com/wp-admin/network/plugins.php?plugin_status=active&paged=1&s
[Wed Apr 12 17:05:35 2017] [error] [client nnn.nnn.nnn.nnn] WordPress database error Table ‘wordpress.wp_0_wfFileMods’ doesn’t exist for query ALTER TABLE wp_0_wfFileMods ADD COLUMNSHAC
BINARY(32) NOT NULL DEFAULT ” AFTERnewMD5
made by require(‘wp-admin/plugins.php’), activate_plugin, include_once(‘/plugins/wordfence/wordfence.php’), wordfence::install_actions, wordfence::runInstall, referer: https://example.com/wp-admin/network/plugins.php?plugin_status=active&paged=1&s
[Wed Apr 12 17:05:35 2017] [error] [client nnn.nnn.nnn.nnn] WordPress database error Table ‘wordpress.wp_0_wfFileMods’ doesn’t exist for query ALTER TABLE wp_0_wfFileMods ADD COLUMNisSafeFile
VARCHAR(1) NOT NULL DEFAULT ‘?’ AFTERstoppedOnPosition
made by require(‘wp-admin/plugins.php’), activate_plugin, include_once(‘/plugins/wordfence/wordfence.php’), wordfence::install_actions, wordfence::runInstall, referer: https://example.com/wp-admin/network/plugins.php?plugin_status=active&paged=1&sI hope this helps.
Tessa
Forum: Plugins
In reply to: [Wordfence Security - Firewall, Malware Scan, and Login Security] sql errorPlease note I have already re-installed the plugin – with the option to delete the tables selected.
We are using PHP 5.3 with backported security fixes which WordFence claims to support.
I will trial disabling all other plugins on my demo site and see if this has any effect on the WordFence code writing to its database tables.
Can you confirm that WordFence expects to create multiple wfNotifications and wfHits tables, ie one per subsite? Or whether there should only be one wfNotifications and wfHits table WordPress installation should be created. Is this not an issue with the database table prefix in use in the query?
Thanks
Forum: Plugins
In reply to: [Wordfence Security - Firewall, Malware Scan, and Login Security] sql errorThanks @wfalaa. Report email sent.
Tessa
Forum: Plugins
In reply to: [Wordfence Security - Firewall, Malware Scan, and Login Security] sql errorThanks for the suggestion. But the plugin is network activated.
Wordfence Security – Anti-virus, Firewall and Malware Scan
Version 6.3.6 | By Wordfence | View details
Network Activated
Network Only