This topic has 22 replies, 2 voices, and was last updated 9 years by sedmorders.
-
Author
Tagged: Can't post entries kleo 3.0.7
-
September 1, 2015 at 21:20 #75741sedmordersParticipant
When I try to add a new posts within the admin panel, I get the following error on the server:
PHP Warning: Illegal string offset ‘url’ in httpdocs\wp-content\themes\kleo\kleo-framework\metaboxes\init.php on line 423
I am using the following:
1. WP 4.3
2. Kleo 3.0.7
3. PHP 5.5.28
4. TinyMCE Advanced editor.Will this be fixed in the next Kleo update and when will that update be released?
September 1, 2015 at 21:22 #75742sedmordersParticipantDisabling TinyMCE Advanced does not fix the problem.
September 1, 2015 at 21:30 #75745sedmordersParticipantThe same problem also happens when I try to add a new page.
September 1, 2015 at 21:33 #75746sedmordersParticipantThe content of line 423 in the error says the following:
$image_url = $meta[‘url’];
September 1, 2015 at 22:18 #75767sedmordersParticipantThe problem continues even after backtracking to Kleo 3.0.5
September 1, 2015 at 22:30 #75771sedmordersParticipantLowering php version from 5.5.28 to 5.4.44 doesn’t solve the problem.
September 2, 2015 at 04:58 #75786sedmordersParticipantThe problem appears to be PHP related.
1. It appears when running php versions 5.5.28 and 5.4.44
2. It disappears with php version 5.3.29Kleo theme needs to be rewritten to support the two latest php versions, which are:
5.5.28
5.6.12It doesn’t currently work with EITHER. I have therefore backtracked my servers to 5.3.29 until SeventhQueen does this.
Please notify me when you have done this and what version of Kleo supports 5.5.28 and 5.6.12.
September 2, 2015 at 16:37 #75820sedmordersParticipantOn my server, php 5.5.28 is considerably faster than the 5.3.29 that I am FORCED to run currently because of kleo incompatibility.
Seventhqueen: Please consider making this a high priority update to kleo. It will considerably speed up the site for many users including me.
Thanks.
September 2, 2015 at 17:30 #75831AndreiModeratorWhen you say that our theme needs to be rewritten, to what are you referring to ?
We’re developing and testing it on several php versions and there are no issues with it, but yes, we’re recommending using at least php v5.4.Also the “error” that you reported above is just a NOTICE and doesn’t have any impact at any level, if you turn off your wp_debug you won’t see it anymore.
Looking forward to hear back from you.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSeptember 2, 2015 at 17:58 #75854sedmordersParticipantAndrei
1. The error above causes a 500 error whenever I try to edit pages or posts. I can’t edit either because of it because I can’t get past the 500 error it produces.
2. How do you turn off wp_debug? I’ll try it.September 2, 2015 at 18:00 #75857AndreiModeratorWell, I’m absolutely sure that your 500 errors are generated by something else.
Please restore your site in the point where you encounter this issue then provide me ftp and admin credentials and I’ll give a closer look to help you fix this issue.Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSeptember 2, 2015 at 18:02 #75859sedmordersParticipantWP_DEBUG is set to “false” in my wp-config.php file. Your proposed remedy would not eliminate the error and allow me to edit pages or posts.
At least on my server, Kleo 3.0.7 doesn’t work with php versions above 5.3.9.
When I say the theme needs to be rewritten, the php code in the offending file needs to be updated to conform with the changed php syntax conventions of versions 5.4.4 and above.
Lastly, please delete or sanitize the url in the lead post to protect my identity. Your system won’t let me edit my own posts.
Thanks.
September 2, 2015 at 18:04 #75860sedmordersParticipantHow do I send you admin credentials privately? You have disabled private messaging on this site.
September 2, 2015 at 18:12 #75862AndreiModeratorHere you have the php file attached which fixes that small notice, so if you still get 500 errors, please understand that they are produced by something else.
File to be replaced with the attached file: “wp-content/themes/kleo/kleo-framework/metaboxes/init.php”
Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAttachments:
You must be logged in to view attached files.September 2, 2015 at 18:20 #75865sedmordersParticipant1. I have upgraded the site from php version 5.3.29 to 5.5.28.
2. I logged in locally to the server so I could see the error messages. That’s what you have to do on a windows server.
3. I did not install your init_php file.
4. The exact same error recurs. It IS being caused by Kleo. Here is the error again:PHP Warning: Illegal string offset ‘url’ in C:\Inetpub\vhosts\zzz.org\httpdocs\wp-content\themes\kleo\kleo-framework\metaboxes\init.php on line 423
5. I have created a temporary admin ftp and wordpress accounts for you to use to troubleshoot.
6. All I need is a place to send the credentials.
7. I would like to avoid the bandaid fix you proposed, because I don’t want to have to customize the theme on every server. Instead, I want the theme code updated to prevent this problem for everyone.
8. Thanks for sanitizing the url in the lead post. Your support has been great so far.Please advise.
September 2, 2015 at 18:22 #75867AndreiModeratorI have just provided you an attachment in my last post with the file to replace to fix this issue.
Please do that and let me know if you still encounter any issues.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSeptember 2, 2015 at 18:30 #75871sedmordersParticipantThe file you provided fixes the problem. I can edit POSTS as well as PAGES without the error.
Thanks!
When will this fix get incorporated into the Kleo theme? I don’t want to have to keep customizing the theme every time I update it or rebuild my server. It needlessly adds complexity.
September 2, 2015 at 18:31 #75872AndreiModeratorIt will automatically be included in the next released version.
CheersHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSeptember 2, 2015 at 18:42 #75875AndreiModeratorNext week or even earlier, I can’t provide an exact date.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSeptember 2, 2015 at 18:47 #75876sedmordersParticipantAfter upgrading to php 5.5.28, my two Kleo sites runs MUCH faster now. TWICE as fast.
Great support. Thanks for a great theme.
September 2, 2015 at 18:48 #75877AndreiModeratorI’m glad I could help. Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSeptember 11, 2015 at 20:16 #77239sedmordersParticipantJust a follow-up after the release of 3.0.8.
IT FIXES THE PROBLEM PERMANENTLY so I don’t need to edit individual files anymore.
Thanks for GREAT service. Hopefully your future testing will test the next release on all versions of PHP, and especially the latest, so that we don’t have to be uncompensated and involuntary Guinea Pigs and beta testers anymore.
🙂
-
AuthorPosts
The forum ‘Bugs & Issues’ is closed to new topics and replies.