Once I installed the Plugin and connected to square.com, my site broke and showed a error: https://imgur.com/a/HIMnUqf
The only way I could regain access to the Dashboard was to rename the Plugin via FTP. I disabled all plugins and tried again, same issue happened.
Once I logged in to WordPress in recovery mode, I saw the actual error log:
Error Details ============= An error of type E_ERROR was caused in line 174 of the file /home/s762/html/wp-content/plugins/woocommerce-square/includes/Plugin.php. Error message: Uncaught Error: Call to a member function is_debug_enabled() on null in /home/s762/html/wp-content/plugins/woocommerce-square/includes/Plugin.php:174 Stack trace: #0 /home/s762/html/wp-includes/class-wp-hook.php(288): WooCommerce\Square\Plugin->log_api_request(Array, Array) #1 /home/s762/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array) #2 /home/s762/html/wp-includes/plugin.php(465): WP_Hook->do_action(Array) #3 /home/s762/html/wp-content/plugins/woocommerce-square/vendor/skyverge/wc-plugin-framework/woocommerce/api/class-sv-wc-api-base.php(294): do_action('wc_square_api_r...', Array, Array, Object(WooCommerce\Square\API)) #4 /home/s762/html/wp-content/plugins/woocommerce-square/includes/API.php(772): SkyVerge\WooCommerce\PluginFramework\v5_4_0\SV_WC_API_Base->broadcast_request() #5 /home/s762/html/wp-content/plugins/woocommerce-square/includes/API.php(735): WooCommerce\Square\API->handle_response(NULL) #6 /home/s762/html/wp-content/plugins/woocommerce-square/includes/API.php(599): Wo
Please note that the Plugin I installed was brand new version provided by Square. Version 2.0.0-dev.4
Please please help! Thank you
- The topic ‘Plugin breaks site once installed. Please help!’ is closed to new replies.