bedifferent
Forum Replies Created
-
I understand the solution that you have proposed above to disable the file changing detection feature. My issue is that I am currently receiving a 504 error from the site and so I cannot access my WP dashboard to disable the feature. My error is
a function from wp-content/plugins/better-wp-security/core/modules/file-change/class-itsec-file-change.php at line 230 that’s timing out and causing the issue, here’s the php-slow.log entry showing this:
bc. [08-Dec-2015 10:47:49] [pool www] pid 10227
script_filename = /srv/bindings/586ed90fb03e4e19903b848e0d2635a5/code//index.php
[0x00007f29479ca3e0] array_diff_assoc() /srv/bindings/586ed90fb03e4e19903b848e0d2635a5/code/wp-content/plugins/better-wp-security/core/modules/file-change/class-itsec-file-change.php:230
[0x00007fff9afbae80] execute_file_check() unknown:0
[0x00007f29479ca1e8] call_user_func_array() /srv/bindings/586ed90fb03e4e19903b848e0d2635a5/code/wp-includes/plugin.php:503
[0x00007f29479ca050] do_action() /srv/bindings/586ed90fb03e4e19903b848e0d2635a5/code/wp-settings.php:353
[0x00007f29479c9f28] +++ dump failedHow do I change the settings in code, qwhat do I change it to?
Obviously if I could get to the WP dashboard then I could change the settings through the interfface but currently that isn’t possible.
Here is line 230 from my PHP file in the plugin
wp-content/plugins/better-wp-security/core/modules/file-change/class-itsec-file-change.php
$files_added = @array_diff_assoc( $current_files, $logged_files ); //files added
Can I just comment it out and expect things to work or is there a lot more to it than that?