Timeline for call_user_func_array() expects parameter 1 to be a valid callback, class 'WC_Rapyd' does not have a method 'install'
Current License: CC BY-SA 4.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 22, 2020 at 14:37 | comment | added | Gooba | Yes, the plugin code is: private function __construct() { add_action( 'admin_init', array( $this, 'install' ) ); $this->init(); }. Perhaps script isn't enqueued in correct order, but I now have ticket open with plugin developer. | |
Dec 22, 2020 at 14:15 | comment | added | Rup |
I'd guess the problem will look something like add_action( 'admin_init', array( 'WC_Rapyd', 'install' ) ); , or add_action( 'admin_init', array( $this, 'install' ) ); inside the WC_Rapyd class definition itself - it's not a case of setting up your own extra admin_init handler I don't think. Why your child theme makes a difference I've no idea, unless you're explicitly calling WC_Rapyd from your child theme? I can't think why you'd need to.
|
|
Dec 22, 2020 at 13:46 | history | edited | Gooba | CC BY-SA 4.0 |
added 50 characters in body
|
Dec 22, 2020 at 12:51 | comment | added | honk31 | seems like an issue with the plugin. you should get in contact with the developer, since this question is not a wordpress problem, but a 3rd party plugin.. | |
Dec 22, 2020 at 12:31 | review | First posts | |||
Dec 22, 2020 at 14:15 | |||||
Dec 22, 2020 at 12:27 | history | asked | Gooba | CC BY-SA 4.0 |