Parse error: syntax error, unexpected '?' td_config.php on line 33307

Posted in: Newspaper
Post count: 3

I just purchased this theme, added it to WP, updated to the newest WP version, activated the theme, that took me to the setup page for the theme I told it to auto install the plugins. This had a error and said I should download the pulgins manually. Now the entire website doesn’t work and I only get this wordpress error on all pages.

Parse error: syntax error, unexpected ‘?’ in /home/travel/public_html/wp-content/plugins/td-composer/legacy/Newspaper/includes/td_config.php on line 33307

I also have found no links in your documents on how to manually install these plugins as the theme said to. I can only assume it thinks they installed when they didn’t and now I have this error.

Server is on PHP 5.6, WordPress was 5.9 .x

I changed the PHP version on the server to 7.4 instead and now it just says “There has been a critical error on this website. Please check your site admin email inbox for instruction” Same thing it said before without the parse error message.

  • This topic was modified 4 years by B33rNuts.
Post count: 3

I have been fighting with this thing for an hour now, I have narrowed it down to td_composer. If I try to activate this plugin it kills the whole site. I uploaded the zip file from theme forest and did a manual activation same problem. The auto install says “Ajax Error” every time I try that and also kills the site. All I can do to recover is delete the td_composer folder from the plugins folder to make the site work again.

Post count: 3

Issue solved! Hours of BS later.

When you turn on the theme you can go to that “Welcome to Newspaper!” section. On this page there is the system status stuff on the right side. The theme says “they recommend” a certain PHP setting or WP memory limit. It does not say this is required to run the theme, its just yellow and not red text. But my td_composer refused to activate until I made the changes they had in the status. These should not be “recommended” but “required” if they are actually required to use the theme. I don’t know which one it was but seems to be working now that all 4 have green checkmarks.

Post count: 27744

Hello,

I’m glad in the end you managed to solve these problems. Also, when installing the theme, it is recommended to do it on staging, so as not to have problems with the live website.
Also, this is the guide with the theme requirements -> https://forum.tagdiv.com/requirements-for-newspaper/
if you have other questions, let us know!

Have a nice day!

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