robertasystyou
Forum Replies Created
-
Forum: Plugins
In reply to: [Master Slider - Responsive Touch Slider] Fatal Error on WordPress 6.0.1Sure, so there was a function called ‘download_package’ on line 264 of ‘masterslider/admin/includes/classes/class-axiom-plugin-updater.php’. I added the ‘$hook_extra = []’ parameter to the function’s definition. So
public function download_package( $package, $check_signatures = false )
becomes
public function download_package( $package, $check_signatures = false, $hook_extra = [] )WordPress added the $hook_extra parameter in 5.5.0 to WP_Upgrader::download_package function and since the Axiom_Plugin_Updater extends WP_Upgrader, the functions definitions need to match.
I’m guessing the reason it’s started to cause problems now, at least in my case, is due to upgrading to PHP 8.0. A lot of issues that were treated as warnings in older versions of PHP are now treated as fatal errors and cause plugins to crash. I’ve had several issues with various plugins while updating our servers.
Hope this helps.
- This reply was modified 3 years, 9 months ago by robertasystyou.
Forum: Plugins
In reply to: [API Bearer Auth] Error creating tokensHey. I managed to finally get the plugin working again. I did so by:
1. Deactivating the plugin.
2. Deleting all the user_tokens tables from the database (We had recently migrated several sites to a single multisite server, so there were several tables when there should have only been one).
3. Made sure that my .htaccess file had the SetEnvIf line instead of the RewriteRule (This wasn’t necessary on the old sites but seems to be necessary under our new Bitnami stack).
4. Reactivated the plugin.Hope this helps someone else.
Forum: Plugins
In reply to: [API Bearer Auth] Error creating tokensI see some. In our case the ‘wp_’ prefix as an id between it and the ‘user_tokens’ table, indicating which site it belonged to. I saw some tables for some site IDs that didn’t exist (probably sites that were imported then deleted for some reason during our migration to a new Bitnami stack).
There wasn’t a table for the sites that we use the plugin for, so I attempted to create it manually with no luck.