call_user_func_array() expects parameter 1 to be a valid callback, class ‘WC_Rapyd’ does not have a method ‘install’
We’ve installed the Woocommerce Rapyd Payments plugin and have the issue that the payment option is not loading on the front end. Query Monitor is showing the above warning message, but I haven’t been able to fix the issue. I deactivated all plugins and there were no conflict issues. Switch themes and Rapyd then works ok.
Issue seems that the plugin scripts are not loading properly when our child theme is active.
Query Monitor states these locations for the issue;
wp-includes/class-wp-hook.php:287
do_action(‘admin_init’)
wp-admin/admin.php:175
I tried adding the admin_init function calling the class from the plugin file as a snippet in the child functions.php file, but still getting the same issue. Any help on this would be appreciated.
Leave an answer