Warning: Illegal string offset 'country_Afghanistan_1' in ...
9 years 10 months ago - 9 years 10 months ago #258041
by nmouse
-- HikaShop version -- : 2.6.3, essential
-- Joomla version -- : 3.6.5
-- PHP version -- : 7.1
-- Browser(s) name and version -- : ff 50.1.0
-- Error-message(debug-mod must be tuned on) -- : Warning: Illegal string offset 'country_Afghanistan_1' in /var/www/clients/client5/web15/web/administrator/components/com_hikashop/classes/field.php on line 640
Recoverable fatal error: Object of class stdClass could not be converted to string in /var/www/clients/client5/web15/web/administrator/components/com_hikashop/classes/field.php on line 640
After i press yes to checkout, i got this with debug on.:
Warning: Illegal string offset 'country_Afghanistan_1' in /var/www/clients/client5/web15/web/administrator/components/com_hikashop/classes/field.php on line 640
Recoverable fatal error: Object of class stdClass could not be converted to string in /var/www/clients/client5/web15/web/administrator/components/com_hikashop/classes/field.php on line 640
in long time, there has been no error...
I dont have done anything to make this besides updates joomla ?
I recently sees that my webhost svipe to php 5.4? and i stork the net to see that error (not this issue), and i get PHP 7.1 back, and the error in the top still came.
I have not purchased the new essentials, because i cannot afford it.
I hope some can guide me to try something..
Regards Chris
-- Joomla version -- : 3.6.5
-- PHP version -- : 7.1
-- Browser(s) name and version -- : ff 50.1.0
-- Error-message(debug-mod must be tuned on) -- : Warning: Illegal string offset 'country_Afghanistan_1' in /var/www/clients/client5/web15/web/administrator/components/com_hikashop/classes/field.php on line 640
Recoverable fatal error: Object of class stdClass could not be converted to string in /var/www/clients/client5/web15/web/administrator/components/com_hikashop/classes/field.php on line 640
After i press yes to checkout, i got this with debug on.:
Warning: Illegal string offset 'country_Afghanistan_1' in /var/www/clients/client5/web15/web/administrator/components/com_hikashop/classes/field.php on line 640
Recoverable fatal error: Object of class stdClass could not be converted to string in /var/www/clients/client5/web15/web/administrator/components/com_hikashop/classes/field.php on line 640
in long time, there has been no error...

I dont have done anything to make this besides updates joomla ?
I recently sees that my webhost svipe to php 5.4? and i stork the net to see that error (not this issue), and i get PHP 7.1 back, and the error in the top still came.
I have not purchased the new essentials, because i cannot afford it.
I hope some can guide me to try something..
Regards Chris
Last edit: 9 years 10 months ago by nmouse. Reason: more info
Please Log in or Create an account to join the conversation.
9 years 10 months ago - 9 years 10 months ago #258043
by nmouse
Replied by nmouse on topic Warning: Illegal string offset 'country_Afghanistan_1' in ...
Coud it be Joomla 3.6.5 ??
Maybe it came after this update ?
-
Im running danish and uk-gb language only ??
Maybe it came after this update ?
-
Im running danish and uk-gb language only ??
Last edit: 9 years 10 months ago by nmouse.
Please Log in or Create an account to join the conversation.
9 years 10 months ago #258054
by nicolas
Replied by nicolas on topic Warning: Illegal string offset 'country_Afghanistan_1' in ...
Hi,
It looks like a problem with the zones data.
Try:
- delete the tables hikashop_zone and hikashop_zone_link in your database via your PHPMyAdmin.
- install the install package of your version of HikaShop on your website and it will add back all the zones in their default state.
- if you still have the problem, try editing the custom country and state fields via the menu Display>Custom fields and save them once.
It looks like a problem with the zones data.
Try:
- delete the tables hikashop_zone and hikashop_zone_link in your database via your PHPMyAdmin.
- install the install package of your version of HikaShop on your website and it will add back all the zones in their default state.
- if you still have the problem, try editing the custom country and state fields via the menu Display>Custom fields and save them once.
Please Log in or Create an account to join the conversation.
9 years 10 months ago #258059
by nmouse
Replied by nmouse on topic Warning: Illegal string offset 'country_Afghanistan_1' in ...
Thanks
I´ll do that right now.
But in 'My Subscriptions' i cannot DL the last version i have bourght ?
Coud you please leave a link, so i can reinstall.?
Regards
I´ll do that right now.
But in 'My Subscriptions' i cannot DL the last version i have bourght ?
Coud you please leave a link, so i can reinstall.?
Regards
Please Log in or Create an account to join the conversation.
9 years 10 months ago #258084
by nmouse
Replied by nmouse on topic Warning: Illegal string offset 'country_Afghanistan_1' in ...
Hi.
I have found a solution to my problem.
I have now PHP 7.1
And a dear Joomla nerd Brian from nowweb.dk sad i coud try to set PHP til 7.0.14 ...
And.. That do seems to do the trick.
So i have now no problems.
Thanks Brian at nowweb dot dk
Regards.
You can close this topic
Merry Christmas
I have found a solution to my problem.
I have now PHP 7.1
And a dear Joomla nerd Brian from nowweb.dk sad i coud try to set PHP til 7.0.14 ...
And.. That do seems to do the trick.
So i have now no problems.
Thanks Brian at nowweb dot dk
Regards.
You can close this topic
Merry Christmas
Please Log in or Create an account to join the conversation.
9 years 5 months ago - 9 years 5 months ago #269467
by altrasoluzione
Replied by altrasoluzione on topic Warning: Illegal string offset 'country_Afghanistan_1' in ...
EDIT: found solution in
this thread
[hr]
Hi,
after updating to PHP 7.1.1 from 5.6 I receive a similar message on checkout (both in Windows test platform and Linux):
I've already tried to delete hikashop_zone and hikashop_zone_link tables and re-install the package com_hikashop_business_v2.6.4, with no results.
Any suggestion on how to fix this problem?
Thank you!
HikaShop: Business v.2.6.4
Joomla: 3.7.0
PHP: 7.1.1
[hr]
Hi,
after updating to PHP 7.1.1 from 5.6 I receive a similar message on checkout (both in Windows test platform and Linux):
Code:
Warning: Illegal string offset 'state_Agrigento_1853' in pathtomysitefolder\administrator\components\com_hikashop\classes\field.php on line 648
Recoverable fatal error: Object of class stdClass could not be converted to string in pathtomysitefolder\administrator\components\com_hikashop\classes\field.php on line 648
I've already tried to delete hikashop_zone and hikashop_zone_link tables and re-install the package com_hikashop_business_v2.6.4, with no results.
Any suggestion on how to fix this problem?
Thank you!
HikaShop: Business v.2.6.4
Joomla: 3.7.0
PHP: 7.1.1
Last edit: 9 years 5 months ago by altrasoluzione.
Please Log in or Create an account to join the conversation.
9 years 5 months ago #269471
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Warning: Illegal string offset 'country_Afghanistan_1' in ...
Hello,
First, you should try with the latest version of HikaShop.
www.hikashop.com/support/documentation/5...ashop-changelog.html
Regards,
First, you should try with the latest version of HikaShop.
www.hikashop.com/support/documentation/5...ashop-changelog.html
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
The following user(s) said Thank You: altrasoluzione
Please Log in or Create an account to join the conversation.
9 years 5 months ago #269515
by altrasoluzione
Replied by altrasoluzione on topic Warning: Illegal string offset 'country_Afghanistan_1' in ...
Hi,
you are right but this is an old installation with a lot of styles customization and overrides.
I've already tried to update it but, unfortunatelly, a migration to v3.0.1 is not painless and would cost many hours of programming to make it work properly.
But the solution found in the other thread worked perfectly, for now.
Thank you!
you are right but this is an old installation with a lot of styles customization and overrides.
I've already tried to update it but, unfortunatelly, a migration to v3.0.1 is not painless and would cost many hours of programming to make it work properly.
But the solution found in the other thread worked perfectly, for now.
Thank you!
Jerome wrote: Hello,
First, you should try with the latest version of HikaShop.
www.hikashop.com/support/documentation/5...ashop-changelog.html
Regards,
Please Log in or Create an account to join the conversation.
Time to create page: 0.078 seconds