Skip to content
View in the app

A better way to browse. Learn more.

thirty bees forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Problem with updating 1.0.3 -> 1.0.5: "Cannot use object of type stdClass as array" on Cache.php

Featured Replies

Hello everyone, first of all I'd like to thank you for such a great work. I have an issue after upgrading thirty bees to 1.0.5 - whatever I click after update, I get error mesage: "Cannot use object of type stdClass as array" on file classes/cache/Cache.php I've processed all steps from guide to 1.0.4 and deleted class_index.php, still no luck. Any ideas what could be the cause? Many thanks in advance!

@pelnykoszyk_pl I have added a code change here: https://github.com/thirtybees/thirtybees/issues/551 You may try it and let us know if it works.

  • Author

Hello, thanks for the response, I will try it and let you know. Btw. my config is Apache 5.6.23 + nginx + MariaDB 10.1.32

  • Author

Hello, I've updated again to 1.0.5 and hmm... No problem this time... EDIT: The problem reappeared after some time, but advise from @doclucas fixed the issue.

But I have another issue - when One Page Checkout is activated, no matter what delivery option I choose it switches automatically to default option. On standard 5-steps checkout everything works fine. Any ideas/solutions to this?

@pelnykoszyk_pl this issue has been fix, you can check this https://github.com/thirtybees/thirtybees/issues/550

  • Author

Another issue when trying to enter Customers tab in Backoffice: PHP Fatal error: Call to undefined method Tools::convertEmailFromIdn() in /controllers/controllers/admin/AdminCustomersController.php on line 289 EDIT: Works now, it appeared that I've missed some files during update.

  • Author

@dosbiner said in Problem with updating 1.0.3 -> 1.0.5: "Cannot use object of type stdClass as array" on Cache.php:

@pelnykoszyk_pl this issue has been fix, you can check this https://github.com/thirtybees/thirtybees/issues/550

It didn't solve my issue - still having: Notice: Undefined variable: delivery_option in /public_html/classes/classes/Cart.php on line 1039

  • Author

Although site is working correctly, it is waaay slower than 1.0.3 - server response time went up from 0.43s to 1.2s. Any ideas why?

  • Author

Here: https://pelnykoszyk.pl/debugps.htm

I've noticed few strange things: - memory limit is set to 128mb although server is configured to 512MB - some theme modules SQL queries generate 8 116 480 rows (!)

It appears that theme isn't optimized at all...

Looking at your debug profiling it is the theme modules that are poorly programmed that are the issue.

You have to manually update to 1.0.4 first, there should be instructions on our blog about that, then its just copying the files for 1.0.5 over after that.

I am not following. To update to 1.0.4 you have to delete some stats modules. Here are the instructions from the blog. https://thirtybees.com/blog/version-1-0-4-has-been-released/

For 1.0.5 you basically do the same thing, but do not delete the modules. You HAVE to update to 1.0.4 first, then to 1.0.5

  • Author

@the-rampage-rado said in Problem with updating 1.0.3 -> 1.0.5: "Cannot use object of type stdClass as array" on Cache.php:

you're running your shop with toooooo many modules!!!

Unfortunately I don't find any of them useless... Nevertheless, all crucial problems are fixed, thanks for that, I still have some minor problems with modules, but I'll try to find proper forum category to adress this.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.