Pieter Daalder
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Activity Log] Uncaught TypeErrorNo problem, good to see you’re acting so fast on it π
Forum: Plugins
In reply to: [WP Activity Log] Uncaught TypeErrorDisabled all plugins. When I try to reactivate WP Security Audit Log I immediately get the same error again:
Plugin could not be activated because it triggered a fatal error.So this doesn’t seem to be caused by interference from other plugins.
Forum: Plugins
In reply to: [WP Activity Log] Uncaught TypeErrorHello,
Updating IIS user here as well.. since the last update it broke my site so I had to disable the plugin manually.
1. Hosted
2. Windows NT 10.0 build 14393 (Windows Server 2016) AMD64 / Microsoft-IIS/10.0
3. $wp_version = ‘4.9.8’; / $wp_db_version = 38590;
4. I was running this plugin fine, untill the latest update broke it.If there is any more information that might help, let me know!
Sorry for the delay in feedback. We’ve tested the newer version and the problem seems to be fixed. Thank you!
Forum: Fixing WordPress
In reply to: “The mysql extension is deprecated” after updateHiding errors is never the solution π
If you are using the latest WordPress version this problem is likely to be caused by a plugin or your theme. So probably you’d best wait for an answer from the developer.
Forum: Fixing WordPress
In reply to: “The mysql extension is deprecated” after updateWhat version of WordPress are you using, and what PHP version is currently being used? This error usually pop ups on the following combination:
- A older version of WordPress
- PHP 7 is active on your hosting
I’m not exactly sure on the WordPress version that’s considered too old to use with PHP 7, but updating to the most recent WordPress version usually fixes this.
Forum: Fixing WordPress
In reply to: Get custom taxonomy parentsHi!
I’m assuming you feed the category named “prod-kat” to $cat. Is this correct? In what sense doesn’t this code work? Does en error gets thrown? Does the mentioned category even have parents? Have you tried debugging using the debug modus already?
Forum: Fixing WordPress
In reply to: How do I remove the Media Library tab for non Admins?Hi!
There are plugins that can get you this functionality. Or you could write the necessary code yourself. You can use remove_menu_page() to disable certain pages. Combine that with current_user_can() in your functions.php or a plugin and you’re ready to roll.
Forum: Fixing WordPress
In reply to: Not able to access my wordpressHi!
Have you done anything special before you got locked out of your WordPress? Install any new plugins, run updates, etc. ?
If that’s not the case: do you get a error message when trying to login? If so: what does it say?
Something you might try is to login to your database and check out your users table. There should be an entry there for your user account. Check if your user is still present, and if the e-mail is also correct. Are there any new user accounts visible here?
Well, thats kinda the point. It says 0.5.2 in my readme.txt.. Doesn’t affect the plugin, but does seem kinda weird π
Hello,
IIS web hoster here π
in /classes/wp-security-utility.php on line 480 you declare the following function:
static function get_server_type()which you use to perform a check to get the server type used by the plugin’s user. A few servertypes will get an ‘OK’ for the rest of the plugin, while all others are denied with an error. For this I feel it might be better to use the two variables from WP: $is_iis7 and $is_apache.
While some IIS setups do allow the usage of Apache styled .htaccess configuration-files, not all setups support this.
In this specific case you can add the following lines to this file, on lines 495 through 499:
else if (strstr(strtolower(filter_var($_SERVER['SERVER_SOFTWARE'], FILTER_SANITIZE_STRING)), 'iis')) { return 'iis'; }This will fix the plugin for IIS users that have the ability to use .htaccess files. For IIS users that have to use web.config files you can take the following steps:
- Check whether the IIS rewrite module is active (iis7_supports_permalinks()) https://developer.wordpress.org/reference/functions/iis7_supports_permalinks/
- Add the required rules to the web.config configuration of the site: iis7_add_rewrite_rule() https://developer.wordpress.org/reference/functions/iis7_add_rewrite_rule/
This way this plugin should work on most IIS servers.
Kind regards,
Pieter