Search not working “fatal error”

Posted in: Newspaper
Post count: 10

Hi, since the very last update last week, the search buttons are no longer working. I can do a live search and items do show up but when I hit the button, the search results page wont open and a fatal error page will pop up instead. I have enabled debug and this is what I get:

Fatal error: Uncaught TypeError: Cannot access offset of type array on string in /var/www/html/news/wp-content/plugins/td-composer/legacy/common/wp_booster/td_util.php:1196 Stack trace: #0 /var/www/html/news/wp-content/plugins/td-composer/legacy/common/wp_booster/td_util.php(340): td_util::get_template_id() #1 /var/www/html/news/wp-content/plugins/td-composer/legacy/common/wp_booster/td_wp_booster_functions.php(513): td_util::check_header() #2 /var/www/html/news/wp-includes/class-wp-hook.php(324): td_load_css_fonts() #3 /var/www/html/news/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #4 /var/www/html/news/wp-includes/plugin.php(517): WP_Hook->do_action() #5 /var/www/html/news/wp-includes/script-loader.php(2299): do_action() #6 /var/www/html/news/wp-includes/class-wp-hook.php(324): wp_enqueue_scripts() #7 /var/www/html/news/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #8 /var/www/html/news/wp-includes/plugin.php(517): WP_Hook->do_action() #9 /var/www/html/news/wp-includes/general-template.php(3192): do_action() #10 /var/www/html/news/wp-content/plugins/td-composer/legacy/Newspaper/header.php(8): wp_head() #11 /var/www/html/news/wp-content/plugins/td-composer/td-composer.php(254): require_once(‘…’) #12 /var/www/html/news/wp-includes/class-wp-hook.php(324): {closure:/var/www/html/news/wp-content/plugins/td-composer/td-composer.php:249}() #13 /var/www/html/news/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #14 /var/www/html/news/wp-includes/plugin.php(517): WP_Hook->do_action() #15 /var/www/html/news/wp-content/themes/Newspaper/header.php(2): do_action() #16 /var/www/html/news/wp-includes/template.php(810): require_once(‘…’) #17 /var/www/html/news/wp-includes/template.php(745): load_template() #18 /var/www/html/news/wp-includes/general-template.php(48): locate_template() #19 /var/www/html/news/wp-content/plugins/td-cloud-library/wp_templates/tdb_view_search.php(8): get_header() #20 /var/www/html/news/wp-includes/template-loader.php(106): include(‘…’) #21 /var/www/html/news/wp-blog-header.php(19): require_once(‘…’) #22 /var/www/html/news/index.php(17): require(‘…’) #23 {main} thrown in /var/www/html/news/wp-content/plugins/td-composer/legacy/common/wp_booster/td_util.php on line 1196

I have tried to use another cloud template for the search page, I have tried editing the existing one and saving… but nothing helps same error all the time.

Any clues on what is going on?

Thanks in advance,
Jose

Post count: 35449

Hi,

Related to the search problem, it will be need to replace the current theme plugn tagDiv Composr with the one from here – https://cdn.tagdiv.com/wp-content/uploads/2025/11/td-composerfix.zip
Also, we’ll prepare a theme update that will include the fix.

Thank you!

Post count: 50

Hi, I was having the same issue. I replaced the Composor Plugin as per your message but it says the plugin is not compatible with my version of the theme. I am using 12.7.3.

Any ideas? Thanks.

Post count: 10

I had to rollback too and asked for the propor way to do it. I guess it could be using the downgrade capabilities. Have not tried it yet but you can find it here:

https://forum.tagdiv.com/how-to-update-the-theme-2/

Cheers

Post count: 10

Thanks for your response. Uploading the fix just disables de Cloud plugin too and complains about incompatible versions. What is the correct workflow to update? Is it disable the plugin, downgrade the theme and then install the fix and enable it?

Thanks

Post count: 35449

Hi,
You just need to have the last theme version, 12.7.3, when replacing the tagDiv Composer with the one provided by me, do not downgrade or do anything else.
https://cdn.tagdiv.com/wp-content/uploads/2025/11/td-composerfix.zip
Thank you!

Post count: 10

Uploading it from the plugins GUI didnt work for me. It just disabled the plugin and the Cloud plugin drawing the aspect of the web unusable… Is this latest zip diferent?

Thanks,

Jose

Post count: 35449

Hi,
The above version differs and includes a fix for the search problem. Just make sure you have the Newspaper v12.7.3 and use the composr from this link
https://cdn.tagdiv.com/wp-content/uploads/2025/11/td-composerfix.zip

Post count: 50

Thanks. Worked for me.

Viewing 9 posts - 1 through 9 (of 9 total)
The forum ‘Newspaper’ is closed to new topics and replies.