Plugin crashes site when activated
-
I have freshly installed WordPress, 2024 basic theme, Woocommerce plugin, and MercadoPago payment gateway plugin. When I activate this last one, it crashes the site. But if your plugin is not activated, everything works fine.
This is the error I get in my email:Detalles del error
==================
Se produjo un error de tipo E_ERROR en la línea 59 del archivo /home/u665221920/domains/proyectoelnido.org/public_html/donar/wp-content/plugins/wc-donation-platform/includes/integrations/subscriptions-for-woocommerce/class-wcdp-subscriptions-for-woocommerce.php. Mensaje de error: Uncaught TypeError: Argument 4 passed to WCDP_Subscriptions_For_WooCommerce::modify_template() must be of the type string, null given, called in /home/u665221920/domains/proyectoelnido.org/public_html/donar/wp-includes/class-wp-hook.php on line 324 and defined in /home/u665221920/domains/proyectoelnido.org/public_html/donar/wp-content/plugins/wc-donation-platform/includes/integrations/subscriptions-for-woocommerce/class-wcdp-subscriptions-for-woocommerce.php:59
Stack trace:
#0 /home/u665221920/domains/proyectoelnido.org/public_html/donar/wp-includes/class-wp-hook.php(324): WCDP_Subscriptions_For_WooCommerce::modify_template(‘/home/u66522192…’, ‘admin/component…’, Array, NULL, ‘/home/u66522192…’)
#1 /home/u665221920/domains/proyectoelnido.org/public_html/donar/wp-includes/plugin.php(205): WP_Hook->apply_filters(‘/home/u66522192…’, Array)
#2 /home/u665221920/domains/proyectoelnido.org/public_html/donar/wp-content/plugins/woocommerce/includes/wc-core-functions.php(313): apply_filters(‘wc_get_template’, ‘
Help please, your plugin is pretty great.The page I need help with: [log in to see the link]
- The topic ‘Plugin crashes site when activated’ is closed to new replies.