Theme related Fatal Error

Posted in: Newspaper
Post count: 13

Everything was working fine until about 30 minutes ago. Now I can’t add/save things in TD Composer and the site preview shows this error:

Fatal error: Uncaught Error: Class ‘""’ not found in /app/public/wp-content/themes/Newspaper/includes/wp_booster/td_block.php on line 181

This is what line 181 looks like from td_block.php
$this->td_block_template_instance = new $td_block_template_id($this->td_block_template_data);

I made NO changes to this file at any point. I have the Envato Market plugin installed. Everything looks up to date. Tested disabling plugins. Cleared all caches. I need this resolved today.

Thank You.

Post count: 13

Oh, and it’s 5:07 pm, not 10:07 like it says above. No settings under profile to correct time zone.

Post count: 13

Found the problem. TD Composer left behind empty pieces of code when I deleted different elements/rows. I was in a rush to move my equipment out of the rain (working outside) and forgot to screenshot. Very Generic example:
[td_block_text_with_title tdc_css=""""]

The empty deprecated pieces of code are only visible in the normal WordPress Page editor. The text tab is better to find them, look for double html quotes "". I deleted two rows of data, saved, cleared caches (just because), and site is working again.

I’ll have to re-do those two rows, but it’s better than a “Fatal Error” and at least I know where to start troubleshooting if the error comes up again.

This is for anyone who has or may have a “Fatal Error” problem in the future.

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