This topic has 18 replies, 4 voices, and was last updated 5 years, 11 months ago ago by Rose Tyler
Since updating to 5.1.1 of the theme I’ve been getting these 2 errors repeating over and over in the PHP ERROR_LOG file for WordPress My error log file got up to 51MB in size
[19-Nov-2018 18:43:07 UTC] PHP Warning: Illegal string offset 'id' in /home/amishyard/public_html/wp-content/themes/xstore/theme/custom-styles.php on line 20
[19-Nov-2018 18:43:07 UTC] PHP Warning: Illegal string offset 'id' in /home/amishyard/public_html/wp-content/themes/xstore/framework/theme-functions.php on line 128
Hello,
Please provide temporary wp-admin and FTP access.
Regards
Here is the login in the private section
Hello,
Thank you. We have passed your issue to our developers and inform you once we fix the problem.
Regards
Hi @olgabarlow
I’m running into same error:
[09-Dec-2018 06:17:18 UTC] PHP Notice: Uninitialized string offset: 0 in /public_html/wp-content/themes/xstore/theme/custom-styles.php on line 17
[09-Dec-2018 06:17:18 UTC] PHP Warning: Illegal string offset 'id' in /public_html/wp-content/themes/xstore/theme/custom-styles.php on line 19
[09-Dec-2018 06:17:18 UTC] PHP Notice: Uninitialized string offset: 0 in /public_html/wp-content/themes/xstore/theme/custom-styles.php on line 19
[09-Dec-2018 06:17:18 UTC] PHP Warning: Illegal string offset 'id' in /public_html/wp-content/themes/xstore/theme/custom-styles.php on line 20
[09-Dec-2018 06:17:18 UTC] PHP Notice: Uninitialized string offset: 0 in /public_html/wp-content/themes/xstore/theme/custom-styles.php on line 20
Any update on when this issue will be resolved?
Here’s another set. It also includes footer.php
[10-Dec-2018 13:24:01 UTC] PHP Warning: Illegal string offset 'id' in /public_html/wp-content/themes/xstore/footer.php on line 3
[10-Dec-2018 13:29:09 UTC] PHP Warning: Illegal string offset 'id' in /public_html/wp-content/themes/xstore/theme/custom-styles.php on line 16
[10-Dec-2018 13:29:09 UTC] PHP Warning: Illegal string offset 'id' in /public_html/wp-content/themes/xstore/theme/custom-styles.php on line 17
[10-Dec-2018 13:29:09 UTC] PHP Warning: Illegal string offset 'id' in /public_html/wp-content/themes/xstore/theme/custom-styles.php on line 19
[10-Dec-2018 13:29:09 UTC] PHP Warning: Illegal string offset 'id' in /public_html/wp-content/themes/xstore/theme/custom-styles.php on line 20
[10-Dec-2018 13:29:09 UTC] PHP Warning: Illegal string offset 'id' in /public_html/wp-content/themes/xstore/framework/theme-functions.php on line 129
[10-Dec-2018 13:29:09 UTC] PHP Warning: Illegal string offset 'id' in /public_html/wp-content/themes/xstore/footer.php on line 3
Hello,
https://prnt.sc/ltf5z4 – please increase max execution time https://www.8theme.com/documentation/xstore/theme-installation/xstore-theme-requirements/
Also, contact your hosting provider and make sure that get_query_var() and set_query_var() functions are enabled on your server.
Regards
Hi @bluehiveinteractive – did you figure this out? I’m getting the same errors and have my max execution time set to 6000.
@rosetyler Not sure about the ‘get_query_var()’ and ‘set_query_var()’ functions. Running on GoDaddy hosting. Where do we find this in cPanel?
No I did not. I have my max execution time set to 500 in php.ini
As for get_query_var() and set_query_var() those are wordpress functions to pull info in and out of the database that has nothing to do with your hosting provider. They are core WordPress functions. I don’t see how the host has any control over that. Simply installing WordPress includes both functions since they are not PHP core functions, but as I said, WordPress core functions.
Hello @bluehiveinteractive,
Please check one more time https://prnt.sc/ltlyah https://prnt.sc/ltlyzq
Regards
Hello @thisisbolo,
Please ask hosting provider support about mentioned functions.
Let us know the result.
Regards
I am not sure where you got that screen shot from, but I have max_execution_time = 500 in php.ini file and its also being reported in the
You can also view the screen shot here at https://www.dropbox.com/s/h66d15ez3qhzh08/2018-12-11%20at%201.52%20PM.jpeg?dl=0
I see now where you got that screen shot in the theme Dashboard. I just spoke with our dedicated server provider and they confirmed what I shared in my previous screen shots. Our server is setup with a max_execution_time of 500
Further more they also confirmed that get_query_var() and set_query_var() are not PHP server level settings that can be turned on or turned off. They are core wordpress functions which you cannot turn off. Its part of the software.
We have another site on our server also running XStore theme. In the Dashboard theme settings it correctly shows max_execution_time = 500 so the screenshot you shared showing zero must be something wrong with the way the version of the theme installed on that site is pulling the data from the PHP server settings. The local php.ini and global php.ini on the server have a value of 500 set for max_execution_time
Hello @bluehiveinteractive,
Please check now. Let us know if all fine.
Regards
Hello, I have checked the system requirements for the theme in the dashboard and its still reporting 0
Hello @bluehiveinteractive,
Please check if you have the mentioned PHP notices. We’ve made some changes in files to fix this.
Regards
@rosetyler – I’ve been following this thread. Are the changes made going to be released in a theme update?
Hello @thisisbolo,
Thanks for the question. Yes, we plan to add appropriate changes in the next theme update.
Regards
You must be logged in to reply to this topic.Log in/Sign up