Uncaught TypeError
-
Hello,
I activated the plugin on a website and, it suddenly crashed. The template tab is unavailable, it said that the WordPress crashed.
On the email I received the following messageAn error of type E_ERROR occurred on line 284 of the file
/home/jnopieseutilaje/public_html/wp-content/plugins/elex-request-a-quote/src/FormSetting/Models/FormSettings.php. Mesaj eroare: Uncaught TypeError: Argument 1 passed to Elex\RequestAQuote\FormSetting\Models\FormSettings::build() must be of the type array, bool given, called in /home/jnopieseutilaje/public_html/wp-content/plugins/elex-request-a-quote/src/FormSetting/FormSettingController.php on line 48 and defined in /home/jnopieseutilaje/public_html/wp-content/plugins/elex-request-a-quote/src/FormSetting/Models/FormSettings.php:284
Stack trace:
#0 /home/jnopieseutilaje/public_html/wp-content/plugins/elex-request-a-quote/src/FormSetting/FormSettingController.php(48): Elex\RequestAQuote\FormSetting\Models\FormSettings::build(false)
#1 /home/jnopieseutilaje/public_html/wp-content/plugins/elex-request-a-quote/src/TemplateSetting/TemplateController.php(41): Elex\RequestAQuote\FormSetting\FormSettingController::get_settings()
#2 /home/jnopieseutilaje/public_html/wp-includes/class-wp-hook.php(324): Elex\RequestAQuote\TemplateSetting\TemplateController::load_template(”)
#3 /home/jnopieseutilaje/public_html/wp-includes/class-wp-hook.php(348):The plugin is installed with exactly the same configuration, on a demo site. On the demo site, it works perfectly. I copied everything on the live site and I have the described error.
WordPress 6.5.3
Equipo (versiunea 2.6)
ELEX WooCommerce Request a Quote – Basic (versiunea 2.2.4)
PHP 7.4.33
I also played with the PHP version, I saw no difference.Can you help me, please? Thank you in advance for cooperation.
- The topic ‘Uncaught TypeError’ is closed to new replies.