Help sought regarding updating of plugin options
-
This is a plea for help or advice about how a plugin updates its preferences/settings.
For many many years I have used the SitePush plugin to keep two test sites synchronized with the live sites. As well as copying the database and media between the live and test sites, tt manages the enabling or disabling of plugins on each. It has worked very well for me. However, the plugin was abandoned 11 years ago. I have managed to keep it going myself with only a minor patch. However, I have now hit a problem. There is no point raising this on the plugin site, as it has not been active for 11 years.
The plugin is still working to push stuff as long as its preferences do not need changing. However, my sites were recently migrated by my hosting service and I need to update some settings in the preferences.
When I view the preferences page, it is loaded from wp-admin/admin.php?page=sitepush_options
Without actually changing any options, if I click on Save Changes, I get Sorry, you are not allowed to access this page. This message comes from WordPress and not the plugin. The URL is wp-admin/options.phpNB wp-admin does not contain a page for sitepush or sitepush.php.
My rather limited understanding is that when Save changes is clicked, this plugin is invoking a function within admin.php, which is failing.
Since I last updated the options successfully, there have been updates to WordPress and my PHP version. Both problem sites are on WP 6.6.1. One is on PHP 7.4.33 and the other on PHP 8.0.30. PHP Compatibility Checker reports The audit requested does not exist.
Might the way a Save Changes is handled by WP have changed? Any pointers as to how to progress this will be much appreciated.
- The topic ‘Help sought regarding updating of plugin options’ is closed to new replies.