Hello @catalanos ,
Thanks for reaching out to us. I have shared this error with the development team for further investigation. We suspect there might be a compatibility issue with the plugin or the WP/WC version. I will provide an update as soon as possible.
We appreciate your patience.
Hello, thank you for the answer. I tested your plugin in multiple ways. I think is a problem somehow caused by an incompatibility with YOAST.
If YOAST is deactivated, your plugin can be activated, but the website is crashing.
If YOAST is active, your plugin can’t be activated.
I also deleted, YOAST, but the problem persists.
This is the error received in the log file.
[21-May-2024 07:49:58 UTC] PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /home/jnopieseutilaje/public_html/wp-content/plugins/elex-request-a-quote/src/Quotelist/ListPageController.php:32
Stack trace: 0 /home/jnopieseutilaje/public_html/wp-content/plugins/elex-request-a-quote/src/Quotelist/QuoteListController.php(502): Elex\RequestAQuote\Quotelist\ListPageController::get_settings(‘quote_list_page’, ”) 1 /home/jnopieseutilaje/public_html/wp-includes/shortcodes.php(433): Elex\RequestAQuote\Quotelist\QuoteListController::elex_quote_request_list_shortcode(Array, ”, ‘elex_quote_requ…’) 2 [internal function]: do_shortcode_tag(Array) 3 /home/jnopieseutilaje/public_html/wp-includes/shortcodes.php(273): preg_replace_callback(‘/\[(\[?)(elex_q…’, ‘do_shortcode_ta…’, ‘[elex_quote_req…’) 4 /home/jnopieseutilaje/public_html/wp-includes/class-wp-hook.php(324): do_shortcode(‘[elex_quote_req…’) 5 /home/jnopieseutilaje/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters(‘[elex_quote_req…’, Array) 6 /home/jnopieseutilaje/public_html/wp-content/plugins/wordpress-seo/src/builders/indexable-link-builder.php(117): apply_filters(‘the_content’, ‘[elex_quote_req…’) 7 /home/jnopieseutilaje/public_html/wp-content/plugins/wordpress-seo/src/integrations/watchers/indexable-post-watcher.php(209): Yoast\WP\SEO\Builders\Indexable_Link_Builder->build(Object(Yoast\WP\SEO\Models\Indexable), ‘[elex_quote_req…’) 8 /home/jnopieseutilaje/public_html/wp-includes/class-wp-hook.php(326): Yoast\WP\SEO\Integrations\Watchers\Indexable_Post_Watcher->build_indexable(52727) 9 /home/jnopieseutilaje/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) 10 /home/jnopieseutilaje/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 11 /home/jnopieseutilaje/public_html/wp-includes/post.php(4839): do_action(‘wp_insert_post’, 52727, Object(WP_Post), false) 12 /home/jnopieseutilaje/public_html/wp-content/plugins/elex-request-a-quote/src/RequestAQuote.php(196): wp_insert_post(Array) 13 /home/jnopieseutilaje/public_html/wp-includes/class-wp-hook.php(324): Elex\RequestAQuote\RequestAQuote->elex_quote_request_add_navigation_menu(false) 14 /home/jnopieseutilaje/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) 15 /home/jnopieseutilaje/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 16 /home/jnopieseutilaje/public_html/wp-admin/includes/plugin.php(705): do_action(‘activate_elex-r…’, false) 17 /home/jnopieseutilaje/public_html/wp-admin/plugins.php(60): activate_plugin(‘elex-request-a-…’, ‘https://jnopies…’, false) 18 {main}
thrown in /home/jnopieseutilaje/public_html/wp-content/plugins/elex-request-a-quote/src/Quotelist/ListPageController.php on line 32
Hello @catalanos,
We have addressed and resolved the PHP warnings on our end and will be releasing an updated version of the plugin shortly. Please let us know the test results after you check the upcoming version of the plugin.
Thanks for your patience.
Hello! I updated your plugin and everything works like a charm!
Thank you for your great support! Have a great day!