dotherightthing / wpdtrt-form

A WordPress plugin to author simple, accessible forms.
0 stars 1 forks source link

Plugin cannot be activated due to critical error #10

Closed dotherightthing closed 3 years ago

dotherightthing commented 3 years ago

WordPress version 5.6 Current theme: WPDTRT DBTH (version 3.7.1) Current plugin: DTRT Form (version 0.3.0) PHP version 7.2.22

Error Details
=============
An error of type E_ERROR was caused in line 1152 of the file /container/application/public/wp-content/plugins/wpdtrt-form/vendor/dotherightthing/wpdtrt-plugin-boilerplate/src/Plugin.php. Error message: Uncaught Error: Cannot use object of type WP_Error as array in /container/application/public/wp-content/plugins/wpdtrt-form/vendor/dotherightthing/wpdtrt-plugin-boilerplate/src/Plugin.php:1152
Stack trace:
#0 /container/application/public/wp-content/plugins/wpdtrt-form/src/class-wpdtrt-form-plugin.php(378): DoTheRightThing\WPDTRT_Plugin_Boilerplate\r_1_7_15\Plugin->get_api_data()
#1 /container/application/public/wp-content/plugins/wpdtrt-form/src/class-wpdtrt-form-plugin.php(354): WPDTRT_Form_Plugin->helper_sendmail('contact-form', 'Contact', Array)
#2 /container/application/public/wp-includes/class-wp-hook.php(287): WPDTRT_Form_Plugin->helper_sendmail_proxy('')
#3 /container/application/public/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
#4 /container/application/public/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
#5 /container/application/public/wp-settings.php(557): do_action('init')
#6 /container/application/public/wp-config.php(118): require_once('/container/appl...')
dotherightthing commented 3 years ago

See dotherightthing/wpdtrt-plugin-boilerplate#189 and dotherightthing/wpdtrt-npm-scripts#50

dotherightthing commented 3 years ago

Resolved with dotherightthing/wpdtrt-npm-scripts#50

dotherightthing/wpdtrt-plugin-boilerplate#189 still needs to be actioned at some point.