I am trying to clear the log of events and nothing seems to work on this page. If I click the “Mark all as read” button and then choose “Mark ALL events as read”, the screen just flickers a little and nothing happens.
If I choose the “Mark currently visible events as read” button, then a bunch of the records will “animate” as if they are closing, and then the screen flickers and nothing happens, they seem to just come back.
If I click the green checkmark to close it manually, it animates away and I can do this a hundred times but never seem to get any fewer records in the list. I show 4 pages and it always stays 4 pages no matter how many I mark.
The default for how many records are displayed on a page is set to 30, but no matter what else I set this to, whether 10 or 60 or 100, a green bar shows up saying something like “Settings updated to show 10 items per page, refreshing now” and the screen flickers and it stays exactly the same and goes back to saying 30 events per page.
The events list itself, is nowhere near 30, it has at least 80 to 100 in the list when I scroll down the page.
It seems obvious there must be some kind of issue with the code or jQuery or whatever is used because it’s not saving settings and it’s not performing actions on the buttons and it’s not doing anything when I click stuff.
There are no errors or messages showing up in the web dev Console, nor any issues showing up in the PHP log.
The plugin interface just doesn’t seem to work at all.
I disabled and enabled the plugin and went through the setup onboarding questions. This cleared the logs, but once an entry came into the log again, I still couldn’t mark it read. Same thing happened.
Not sure what else to do.
]]>Hi!
Sorry, it took me along time to actually upgrade your plugin to the newest version and then sit down and see how it behaves. I’m sorry to report that I still have issues with the same changes being shown on every scan.
WP version: 6.5.5, multi-site | plugin version: 2.0.2
I just tried this now: I marked all scan results as read. Ran a scan. I got five changed files back:
I am certain that these files have not indeed been changed, but ok. I again marked everything as read and ran another scan. The same five files are now being reported as changed.
I also had a look into some older mails and saw that these files were being reported five, six times per E-Mail, as if they were separate files.
I might need to have a closer look what the plugin actually stores in the database and why it thinks these files have changed…
]]>Hello,
I have disabled the notification emails in the settings page of the plugin and now I’m getting fatal error.
Trace from the automatic WP email is:
An error of type E_ERROR was caused in line 452 of the file /app/wp-content/plugins/website-file-changes-monitor/includes/admin/html-settings-markup.php. Error message: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, string given in /app/wp-content/plugins/website-file-changes-monitor/includes/admin/html-settings-markup.php:452
Stack trace:
#0 /app/wp-content/plugins/website-file-changes-monitor/includes/admin/html-settings-markup.php(452): in_array('added', 'no', true)
#1 /app/wp-content/plugins/website-file-changes-monitor/classes/admin/class-admin-manager.php(382): require_once('/app/wp-content...')
#2 /app/wp-includes/class-wp-hook.php(324): MFM\Admin\Admin_Manager::settings_admin('')
#3 /app/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
#4 /app/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#5 /app/wp-admin/admin.php(259): do_action('file-monitoring...')
#6 {main} thrown
-----
WordPress version 6.5.5
Active theme: Twenty Twenty-Three (version 1.4)
Current plugin: Melapress File Monitor (version 2.0.2)
PHP version 8.3.4
]]>
Version Version 2.0.2
[09-Jun-2024 18:59:48 UTC] PHP Fatal error: Uncaught Error: Call to undefined method MFM\Runners\File_Runner::maybe_wp_die() in /plugins/website-file-changes-monitor/vendor/deliciousbrains/wp-background-processing/classes/wp-background-process.php:551
Stack trace: 0 /plugins/website-file-changes-monitor/vendor/deliciousbrains/wp-background-processing/classes/wp-background-process.php(335): WP_Background_Process->handle() 1 wp-includes/class-wp-hook.php(324): WP_Background_Process->maybe_handle() 2 wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 3 wp-includes/plugin.php(517): WP_Hook->do_action() 4 wp-admin/admin-ajax.php(207): do_action() 5 {main}
thrown in /plugins/website-file-changes-monitor/vendor/deliciousbrains/wp-background-processing/classes/wp-background-process.php on line 551
]]>installing and reinstalling the activity log plugin or the file monitoring plugins created 800K records with the post type ‘wfcm_file_event’.
purging on uninstalling (selecting to remove all plugin data) do not clear these rows. are they safe to delete permanently?
Please notice, this plugin’s slug is website-file-changes-monitor, but the current Text Domain is melapress-file-monitor. You need to modify the text domain in all your source files, please refer to this official article.
]]>Hi, this plugin was auto installed from WP File Monitor which had been working flawlessly for years and now it doesn’t seem to be working. I just have been getting the following for a week and it never seems to wrap up.
Initialising – You may navigate away from this page at anytime.
]]>I have used this plugin for some weeks and it has worked fine but suddenly in last 24 hours, it is chewing up 94% of the server CPU!!! Server kept getting overloaded and website became inaccessible. And this is a server that has normally been running at less than 20% CPU usage. The moment I disable it, everything goes back to normal.
I see a plugin update 19 hours ago which I am afraid is a very badly written upgrade.
]]>Every site we have running both this plugin that’s on PHP7.4 crashes with the error message
Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.0.0".
Additionally this error occurs in the log file.
PHP Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.0.0". You are running 7.4.33.4. in /nas/content/live/nameofmysite/wp-content/plugins/website-file-changes-monitor/vendor/composer/platform_check.php on line 24
Ideally if this plugin is no longer compatible with 7.4, it should check it before composer does and just stop loading. This current issue prevents even the wp-admin side from loading, making it difficult to fix.
]]>Can I also see which lines of code have been modified in modified files?
Thanks for the help
Oliver
I recently switched to this plugin from the much older “WP File Monitor Plus”. So far, this plugin looks nice, but either doesn’t quite work or I’m misunderstanding something here.
The plugin has been running for a week maybe and when I see changes that I did myself, I click on “Mark as read” until nothing is reported anymore. I assume that “mark as read” means “this is ok, don’t tell me again”. But the next file check reports the very same files again.
This has happened in all three categories of changes:
So how do I get rid of these changes? I’m a software developer and happy to debug this, but a few pointers how this is supposed to work would be appreciated.
WP 6.3.2, PHP 8.0
]]>Hi, I have only recently installed this plugin following a hack; however, I am having difficulty gaining confidence in what it does.
This morning (05-09-2023 10:00) there was one file change detected: /home/<account>/public_html/.htaccess date 04-09-2023 05:21:53
My first observation is that there is no facility to view the contents or see what the change was. So I ssh’d into the hosting service and went to the folder indicated and examined the file with stat. However none of the timestamps match up.
~/public_html]$ stat .htaccess
File: ‘.htaccess’
Size: 2530 Blocks: 8 IO Block: 4096 regular file
Device: 902h/2306d Inode: 38850458 Links: 1
Access: (0644/-rw-r–r–)
Access: 2023-08-27 05:46:02.342943099 +0100
Modify: 2023-09-03 23:22:35.892159694 +0100
Change: 2023-09-03 23:22:35.892159694 +0100
Birth: –
Is this proof of a bug? Not yet. Currently this is a sample of one so I will persevere. However, it would be good to know which time stamp this plugin uses when reporting changes.
]]>I love this plugin as it acts like a sniper looking for any changes at all.
After using this plugin for a few months I have understood why this plugin gets buggy — at least on my WordPress install.
Following things breaks the ajax functionality of the plugin:
1)This plugin doesn’t want wp-admin, the backend path to change.
2)Can’t change admin-ajax.php name either.
3)REST API – I get 404 if I disable REST API for Non-Admins. This didn’t break right away, after 24hours it just appeared(maybe due to cache)
These above changes were meant to make WordPress safer. I can forget about Ajax, but REST-API securing cannot be optional.
4)Also, I had to disable backend “Administrator” caching in LiteSpeed Cache — this impacts the performance by a huge margin.
When it breaks, what really happens is — the file management doesn’t work(actions are not performed if buttons are clicked). And scans doesn’t run.
Any solutions for the above issues are much appreciated.
Thanks bunch.
]]>I noticed that I am marking all files as read, but there are still deleted files that keep reappearing in the list. Same files that have already been deleted and I marked as read.
might be a bug.
]]>For some reason the system info textarea block is really tiny and squished. Can you also fix this on the next update?
]]>So you have 5 separate columns of information.
Path Name Type Date Actions
Each line of data should actually contain 2 rows. Path
should be on its own row, so the text is not so bunched up on smaller screens, or if a larger screen is using a smaller window.
You can’t assume the user will always be able to just make the window bigger.
So here is a screenshot showing the squeezing of the path visually in the search results table:
and also a photoshop of how a 2-row method would look. (each result has path and the remaining columns on a separate row)
you can do the path at the top row, and the remaining columns on the bottom row.
]]>I wanted to recommend that you randomize the setting where the user is asked how often to scan. Mainly, we want to randomize the time
For hourly, we may want to +/-20 minutes
For daily, we may want to -/+60 min from the requested time.
For weekly, maybe +/- 180 minutes
Best to use seconds delimiter so that you can get a more precise random value down to the second.
If I choose to request a scan daily, you don’t want everyone using the plugin to scan at exactly 02:00. Some people will scan at 01:20, some people will scan at 02:16, etc
And you could even make visible the min and max randomizer values so that users can edit them.
The user picking a more convenient time alone is insufficient. You must add this randomizer to make the scan time less exact. And the user can just use a really low value of 0 or 1 if they want the precise time run. So original functionality is not lost.
]]>We have been using this plugin, from yesterday our website gets slow and MySQL CPU usage has spiked too high due to this our website goes down. When I checked with my WHM and cPanel support, They investigate that due to your plugin SQL query in this table “wp_wfcm_file_events” it is happening.
SELECT?event_id?FROM?wp_wfcm_file_events?WHERE?event_file_path?=?‘/home/yourlhyg/public_html/b
SELECT?event_id?FROM?wp_wfcm_file_events?WHERE?event_file_path?=?‘/home/yourlhyg/public_html/b
These above two queries which are running and causing our CPU usage spiked so much high. Kindly advise us how to solve this problem in this plugin.
Hello I am running version 1.8.4 and I cannot save any changes that I make to the configuration. For example just to change the number of file changes from the default 10 to change it to 20 I then go to select save changes and no error is returned and the page refreshes with the same default value of 10. I have tried this with many changes including the email address to send changes to and schedule frequency etc but nothing saves. I tried uninstalling the plugin, then deleting the directory using ftp in wpcontent > plugins > website-file-changes-monitor and then reinstalling but nothing is working. I am guessing that the settings are stored in the database but I cannot find them. Any suggestions please?
]]>Hi
Please check screenshot
https://prnt.sc/Qu2aorbbjpYX
Modified files shows 4. Deleted files shows 2
But nothing shows on the list
Can you please tell what this 4 and 2 means
Thanks
Hi, click on icon/link “Mark as read” does not work, 404 error in browser inspector log window.
WP 6.2 and php 8.1.
My predecessor added hundreds of files and directories to the ‘Allow all the files in these directories?’ option, causing the settings to no longer save. I went into the wp_options database and manually deleted the wfcm_options. This allowed me to save the settings once again.
]]>For example, if the wp-config.php file has been modified but I can’t view the change they make on that file.
Another example is Wordfence Security and from there we can see the change they make on that file like (Original data on the left side and changed data on the right side) so we can compare files very easily.
For example https://i.stack.imgur.com/mIQ5E.png
I think you understand what I am saying…
Thank you
hi!
ParseError: syntax error, unexpected ‘)’
File “/wp-content/plugins/website-file-changes-monitor/includes/class-wfcm-scan-results-email.php”, line 272
array_merge() is a function so it cant have a comma at the end
]]>It is still happening once in a few days. It always shows the same message,
“A file scan is currently running in the background. Currently, there are 5 remaining areas to scan.”
It takes a long time, about 12 hours to clear this message. During this time, launch scan now remains disabled.
Website File Changes Monitor Version 1.8.3
WooCommerce Version 6.7.0
WordPress 6.0.1
Hi,
After installing the extension, first scan never finishes… ( maybe not even starting ? )
Any helps?
Thanks
Wordpress 5.9.3, WFCM latest
]]>Hello, i installed the website file changes plugin and when i try to change its settings it shows 403 error. I have admin account and latest update for the plugin and tried reinstalling but still cannot change settings. Can anyone help me?
]]>I’m experiecing an issue with the addon.
It happens when the automatic scan occurs, as well as when I try to save settings (most likely cause the scan is started before saving = settings aren’t saved).
If I use the toggle to disable scanning, I am able to save settings, but then I cannot activate it again (i activated it again through the database).
The error email I recieve contains these diagnostic details:
WordPress version 5.9.3
Current theme: Twenty Twenty-Two (version 1.1)
Current plugin: Website File Changes Monitor (version 1.8.1)
PHP version 8.1.4
An error of type E_ERROR was caused in line 1844 of the file /home/public_html/wp-content/plugins/website-file-changes-monitor/includes/class-wfcm-monitor.php. Error message: Uncaught TypeError: array_intersect_key(): Argument #1 ($array) must be of type array, null given in /home/public_html/wp-content/plugins/website-file-changes-monitor/includes/class-wfcm-monitor.php:1844
Stack trace:
#0 /home/public_html/wp-content/plugins/website-file-changes-monitor/includes/class-wfcm-monitor.php(1844): array_intersect_key()
#1 /home/public_html/wp-content/plugins/website-file-changes-monitor/includes/bg/class-wfcm-background-check-changes.php(26): WFCM_Monitor->check_for_changes()
#2 /home/public_html/wp-content/plugins/website-file-changes-monitor/vendor/deliciousbrains/wp-background-processing/classes/wp-background-process.php(301): WFCM_Background_Check_For_Changes->task()
#3 /home/public_html/wp-content/plugins/website-file-changes-monitor/vendor/deliciousbrains/wp-background-processing/classes/wp-background-process.php(449): WP_Background_Process->handle()
#4 /home/public_html/wp-includes/class-wp-hook.php(307): WP_Background_Process->handle_cron_healthcheck()
#5 /home/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#6 /home/public_html/wp-includes/plugin.php(522): WP_Hook->do_action()
#7 /home/public_html/wp-cron.php(138): do_action_ref_array()
#8 {main}
thrown
]]>
Hello. I’m trying to install your plugin to use in conjunction with WP Active Monitor. Upon activating it however i received the following fatal error:
Fatal error: Uncaught Error: Call to undefined method WpSecurityAuditLog::GetGlobalSetting() in /home/public_html/wp-content/plugins/website-file-changes-monitor/includes/wfcm-functions.php:386 Stack trace: #0 /home/public_html/wp-includes/class-wp-hook.php(307): wfcm_install() #1 /home/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters() #2 /home/public_html/wp-includes/plugin.php(474): WP_Hook->do_action() #3 /home/public_html/wp-admin/plugins.php(194): do_action() #4 {main} thrown in?/home/public_html/wp-content/plugins/website-file-changes-monitor/includes/wfcm-functions.php?on line?386
Can you please advise?
Thanks.
]]>Hi,
I would like to switch off and uninstall Website File Changes Monitor plugin from Installed Plugins Admin-page, but when I click the “Deactivate plugin” the Admin-site shows on the browser tab, that it is busy, but after a couple of seconds the Admin-site displays the message ” The plugin is succesfully deactivated”, but in the Installed and Activated Plugins” list I see this plugin as an activated plugin, so I am unable to uninstall and remove it properly.
We are using latest version of WordPress (5.9.2) and latest version of the plugin (1.8.1), any suggestions?
Thank you in advance!
]]>