Keyword

Recoverable fatal error: Object of class stdClass could not be converted to stri

  • Jack Hittle
  • Jack Hittle's Avatar Topic Author
  • Offline
  • New Member
More
1 month 3 weeks ago #178224 by Jack Hittle
Recoverable fatal error: Object of class stdClass could not be converted to string in administrator/component on line 324

Joomla, PHP updates applied over the past year. Everything appeared to be working - but now, I have discovered that there is an error when checking out.

Has anybody else had this issue or can guide me where to start solving it?

The error message appears between Billing Address and Shipping Address when checking out.

Please Log in or Create an account to join the conversation.

  • Jack Hittle
  • Jack Hittle's Avatar Topic Author
  • Offline
  • New Member
More
1 month 3 weeks ago #178225 by Jack Hittle
..the exact component; administrator/components/com_k2store/library/selectable/base.php

Please Log in or Create an account to join the conversation.

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
1 month 3 weeks ago #178227 by Fotis
This is unfortunately an error with K2Store, not K2. Attach the file here and I'll try and fix it for you.

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

Please Log in or Create an account to join the conversation.

  • Jack Hittle
  • Jack Hittle's Avatar Topic Author
  • Offline
  • New Member
More
1 month 3 weeks ago #178236 by Jack Hittle
Thank you very much. I have the program but the Attachments button does not work. I have tried both Chrome and Firefox.

Please Log in or Create an account to join the conversation.

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
1 month 2 weeks ago #178240 by Fotis
Download the .php file and rename it to .txt, then upload.

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

Please Log in or Create an account to join the conversation.

  • Jack Hittle
  • Jack Hittle's Avatar Topic Author
  • Offline
  • New Member
More
1 month 1 week ago #178265 by Jack Hittle
I have renamed the .php to .txt but it doesn't matter. The Attachments button does not work. I click on it and nothing happens. It doesn't provide me the opportunity to attach any file.

Please Log in or Create an account to join the conversation.

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
1 month 1 week ago #178274 by Fotis
Try again please. Kunena crapped out because of an upgrade...

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

Please Log in or Create an account to join the conversation.

  • Jack Hittle
  • Jack Hittle's Avatar Topic Author
  • Offline
  • New Member
More
1 month 1 week ago #178284 by Jack Hittle
OK, here it is.  Thank you.  .php changed to .txt 

File Attachment:

File Name: base.txt
File Size:51 KB
Attachments:

Please Log in or Create an account to join the conversation.

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
1 month 1 week ago #178286 by Fotis
Try changing "$fields[$k]->field_value[$zone->zone_id]=$obj;" to "$fields[$k]->field_value[$zone->zone_id]=(object) $obj;".

Just a quick thought as I'm not aware of the context in which that codes executes.

In any case, what J2Store did with K2Store and then with the removal of the K2 plugin for J2Store really is a dick move and I would not trust investing on any software from them in the future...

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

Please Log in or Create an account to join the conversation.

  • Jack Hittle
  • Jack Hittle's Avatar Topic Author
  • Offline
  • New Member
More
1 month 1 week ago #178295 by Jack Hittle
Thank you for your efforts Fotis. Same error is produced. The cart is very old. I have backed off the PHP version. When time permits, I will rework the cart. Thanks again.

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum