*

GEORGI

  • **
  • 25 posts
php versions problem
« on: June 28, 2023, 08:32:39 AM »
hi i update the osclass version and theme version to last ones,but when i update and i setpup php version to 8.1 or 8.0 the main page not loading the ads (please check the screenshot) i got this error:

[28-Jun-2023 08:24:14 Europe/Madrid] PHP Fatal error:  Uncaught TypeError: Illegal offset type in /home/xxxxx/xxxxx/oc-includes/osclass/helpers/hUtils.php:64
Stack trace:
#0 /home/xxxxx/xxxxx/oc-includes/osclass/helpers/hPremium.php(77): osc_field()
#1 /home/xxxxx/xxxxx/oc-includes/osclass/helpers/hPremium.php(150): osc_premium_field()
#2 /home/xxxxx/xxxxx/oc-content/themes/veronika/loop-single-premium.php(34): osc_premium_title()
#3 /home/xxxxx/xxxxx/oc-content/themes/veronika/functions.php(1006): require('/home/xxxxx/...')
#4 /home/xxxxx/xxxxx/oc-content/themes/veronika/main.php(42): veronika_draw_item()
#5 /home/xxxxx/xxxxx/oc-includes/osclass/helpers/hDefines.php(460): require('/home/xxxxx/...')
#6 /home/xxxxx/xxxxx/oc-includes/osclass/controller/main.php(67): osc_current_web_theme_path()
#7 /home/xxxxx/xxxxx/oc-includes/osclass/controller/main.php(54): CWebMain->doView()
#8 /home/xxxxx/xxxxx/index.php(320): CWebMain->doModel()
#9 {main}
  thrown in /home/xxxxx/xxxxx/oc-includes/osclass/helpers/hUtils.php on line 64
[28-Jun-2023 08:24:22 Europe/Madrid] PHP Warning:  imagepng(/home/wiumi/public_html/oc-content/uploads/qrcode/174_55033657b50b5c7653997185b79db340_5.png): Failed to open stream: No such file or directory in /home/xxxxx/xxxxx/oc-content/plugins/qrcode/lib/qrimage.php on line 43

can you help me whit this?

best regards
GEORGI

*

MB Themes

Re: php versions problem
« Reply #1 on: June 28, 2023, 07:32:48 PM »
As first step I would update theme, plugins and osclass.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots