*

MB Themes

PHP 8.1 compatibility on Osclass 8.0.2
« on: May 23, 2022, 01:10:31 PM »
Hey folks,
For those that would like to try PHP 8.1, you are free to go with Osclass 8.0.2, except 2 notices from gettext library everything should be working as intended.
If no, let us know ;)
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Lopetoms

  • *****
  • 253 posts
  • HOla como estan
Re: PHP 8.1 compatibility on Osclass 8.0.2
« Reply #1 on: May 23, 2022, 02:18:41 PM »
No work good
hostoki.com

*

MB Themes

Re: PHP 8.1 compatibility on Osclass 8.0.2
« Reply #2 on: May 23, 2022, 04:46:07 PM »
 :'(
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

mwindey

  • *****
  • 485 posts
Re: PHP 8.1 compatibility on Osclass 8.0.2
« Reply #3 on: May 23, 2022, 09:41:19 PM »
Will test myself tomorrow but I noticed in front office on demo epsilon theme it throws stack trace error. Is this related with use php 8. 1 ??


Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /data/6/8/68312d4c-1caf-4a7f-b3e6-16c8eb184f3f/mb-themes.com/sub/epsilon/oc-content/themes/epsilon/item-post.php:33 Stack trace: #0 /data/6/8/68312d4c-1caf-4a7f-b3e6-16c8eb184f3f/mb-themes.com/sub/epsilon/oc-includes/osclass/helpers/hDefines.php(367): require() #1 /data/6/8/68312d4c-1caf-4a7f-b3e6-16c8eb184f3f/mb-themes.com/sub/epsilon/oc-includes/osclass/controller/item.php(815): osc_current_web_theme_path('item-post.php') #2 /data/6/8/68312d4c-1caf-4a7f-b3e6-16c8eb184f3f/mb-themes.com/sub/epsilon/oc-includes/osclass/controller/item.php(98): CWebItem->doView('item-post.php') #3 /data/6/8/68312d4c-1caf-4a7f-b3e6-16c8eb184f3f/mb-themes.com/sub/epsilon/index.php(123): CWebItem->doModel() #4 {main} thrown in /data/6/8/68312d4c-1caf-4a7f-b3e6-16c8eb184f3f/mb-themes.com/sub/epsilon/oc-content/themes/epsilon/item-post.php
[

*

Smithtech

  • ****
  • 219 posts
Re: PHP 8.1 compatibility on Osclass 8.0.2
« Reply #4 on: May 24, 2022, 02:41:55 AM »
Will test myself tomorrow but I noticed in front office on demo epsilon theme it throws stack trace error. Is this related with use php 8. 1 ??


Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /data/6/8/68312d4c-1caf-4a7f-b3e6-16c8eb184f3f/mb-themes.com/sub/epsilon/oc-content/themes/epsilon/item-post.php:33 Stack trace: #0 /data/6/8/68312d4c-1caf-4a7f-b3e6-16c8eb184f3f/mb-themes.com/sub/epsilon/oc-includes/osclass/helpers/hDefines.php(367): require() #1 /data/6/8/68312d4c-1caf-4a7f-b3e6-16c8eb184f3f/mb-themes.com/sub/epsilon/oc-includes/osclass/controller/item.php(815): osc_current_web_theme_path('item-post.php') #2 /data/6/8/68312d4c-1caf-4a7f-b3e6-16c8eb184f3f/mb-themes.com/sub/epsilon/oc-includes/osclass/controller/item.php(98): CWebItem->doView('item-post.php') #3 /data/6/8/68312d4c-1caf-4a7f-b3e6-16c8eb184f3f/mb-themes.com/sub/epsilon/index.php(123): CWebItem->doModel() #4 {main} thrown in /data/6/8/68312d4c-1caf-4a7f-b3e6-16c8eb184f3f/mb-themes.com/sub/epsilon/oc-content/themes/epsilon/item-post.php
[


Have also realized that but not sure if it is PHP 8.1 issue. You get that error when you click the
Quote
Place an ad
button without being logged in. When you log in, you don't get that error.

*

MB Themes

Re: PHP 8.1 compatibility on Osclass 8.0.2
« Reply #5 on: May 24, 2022, 07:44:39 PM »
It is not, update theme to 1.0.6
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots