Hello
I’m having an error when I install the theme on my page:
Parse error: syntax error, unexpected ‘[‘, expecting ‘)’ in /home/storage/3/d0/69/metropolemagazine/public_html/wp-content/plugins/td-composer/includes/tdc_util.php on line 592
I followed these two tutorials and could not solve them.
– https://forum.tagdiv.com/install-via-wordpress/
– https://forum.tagdiv.com/install-via-ftp/
How can I solve this problem?
Thank you
You are probably uploading the whole theme package. You have to upload only the theme zip file, not the whole package which contains other items
– https://help.market.envato.com/hc/en-us/articles/202821510-Theme-is-missing-the-style-css-stylesheet-error
These are the theme install methods with steps for each method
– https://forum.tagdiv.com/install-via-wordpress/
– https://forum.tagdiv.com/install-via-ftp/
Let us know the results.
Thanks for your understanding!
No, I’ve unzipped the whole package and the theme installs. It’s the (td-composer) plugin install that fails.
I’ve attempted to install the this plugin two ways;
1. Install from the Newspaper dashboard under the plugin tab.
2. FTP the zipped (td-composer) to the plugin folder and attempted to activate and still gets the tdc_util.php on line 592 error.
Hello
These procedures did not work … I did the step by step but the error continues to appear after activating the theme.
Follow the pictures:
First please check the Requirements for Newspaper and make sure that you have configure them correctly ( like in the guide ).
Most of time this is happening because the wp_memory_limit is too low.
Let us know the results.
Thank you for your understanding.
Meon, Found the fix.
1. Go the the File manager.
2. Look to the top right Cog “settings” Select
3. Check the box “Show hidden files” then Save.
4. Go to the file path public_html > wp-admin
Look to the top Left and select + File
5. Create PHP.INI file
Insert the following:
safe mode = Off (cannot adjust)
memory_limit = 256M (MAXIMUM)
max_execution_time = 30 (MAXIMUM in seconds)
max_input_time = 60 (MAXIMUM in seconds)
post_max_size = 64M (MAXIMUM)
upload_max_filesize = 64M (MAXIMUM)
enable_dl = Off (cannot adjust)
Save
Make sure to also update your Php to 5.6.
Hope this helps.
Chris
Hi,
Most important, please be sure to check the updated theme requirements guide
– https://forum.tagdiv.com/requirements-for-newspaper/
Increase all the parameters if it’s the case.
WP_MEMORY_LIMIT try to increase it to a value of double you already have if possible.
https://www.screencast.com/t/sQswe1SWR
https://www.screencast.com/t/k4DnhgVBJ
Thank you for your understanding.
I’ve increased limit to 512M
Still doesn’t work: [Thu Dec 06 05:40:42 2018] [error] [client 195.64.206.252] PHP Parse error: syntax error, unexpected ‘[‘, expecting ‘)’ in /var/www/boro.su/data/www/nov.boro.su/wp-content/plugins/td-composer/includes/tdc_util.php on line 592
Hi Joe Boro,
Did you check all the settings, like php version and others?
You can send us an email at contact@tagdiv.com and provide admin login, as well as cPanel or FTP if possible. We will take a look. Include a link to this topic in the email.
Thank you.
Hi all,
I have the same issue.
I upgraded from version 7 to 9.2 and got the same error.
If I delete td composer plugin and go to “System Status” page I see that my php version is 5.3.29. and but onmouseover message says that ‘You should have PHP version 5.2.4 or greater (recommended: PHP 5.4 or greater)’.
So, php version is an issue.
What is the latest version of newspaper theme (or latest version of td composer plugin) that can be used with 5.3.29 version of php?
Thank you.
Hi,
Please notice that this is a very old php version.
To run WordPress we recommend your host supports: -> https://wordpress.org/about/requirements/
try to make update to php at list 5.6 ( requirements ), please contact your host if you can not update the php version.
Thank you for your understanding.