You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The fact that the class simple extends another class cannot be the issue. Do you have any error message? Did you make sure WP_Customize_Color_Control is available when extending it? Is the file path to the class correct?
The fact that the class simple extends another class cannot be the issue. Do you have any error message? Did you make sure WP_Customize_Color_Control is available when extending it? Is the file path to the class correct?
No specific error message - only the generic wordpress one (critical error). The file path is correct. Once I omit the "extends"-part, I can access the CMS with no issues. I guess WP_Customize_Color_Control is not available when the dependencies are being loaded then. Do you know how I can check for that or make it available? Or is it perhaps recommended to load the dependency from a $plugin_admin method?
I was actually able to make it work with this method. But it feels like it's the wrong location to place it..
I'd like to load ColorAlpha as a dependency in my plugin.
I've tried to use...
... in includes/class-my-plugin.php with the load_dependencies() method, but I get a critical error.
Apparently the problem lies with the dependency being a class, that extends another class:
Does anyone know how to solve this?
The text was updated successfully, but these errors were encountered: