close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

I updated to PHP 8.0 and I receive this error: Fatal error: Array and string offset access syntax with curly braces is no longer supported in /home/httpd/vhosts/xxxxx.ch/httpdocs/webassist/mysqli/rsobj.php on line 143

Thread began 11/30/2023 6:36 am by astrostrom | Last modified 5/17/2024 2:38 am by Mags | 615 views | 9 replies |

astrostrom

I updated to PHP 8.0 and I receive this error: Fatal error: Array and string offset access syntax with curly braces is no longer supported in /home/httpd/vhosts/xxxxx.ch/httpdocs/webassist/mysqli/rsobj.php on line 143

I just updated to PHP 8.0 on the server and my database response has a fatal error in webassist/mysqli/rsobj.php on line 143

Sign in to reply to this post

Jamie

Which version of the rsobj.php file are you using?

you should be able to find all the relevant files on this recent thread but if you get stuck just reply with any more info!

https://www.webassist.com/forums/posts.php?id=46999

Sign in to reply to this post

astrostrom

I have DATA Bridge 2.3.5 - however the header of the rsobj.php file says: // version2.44

Sign in to reply to this post

Jamie

so the most recent version is 2.55 and attach it to this thread, but as you go through the upgrade you may find you need further files all of which have been referenced on the thread I posted above.

Attached Files
rsobj.php
Sign in to reply to this post

Mags

Check which version your rsobj.php file is - if it isn't v.2.55 you probably need to replace the files in your mysqli folder. I've attached a zipped folder of files that definitely work on PHP8 (please make a backup of your versions first though before replacing!)

Attached Files
mysqli.zip
Sign in to reply to this post

astrostrom

Thanks, I will try the new files!

Sign in to reply to this post

astrostrom

Dear Mags and Jamie, Many thanks for your help. I just scanned the forum and saw that Ray is no longer with us. Very sad, he was always so helpful.

Sign in to reply to this post

Jamie

yes it is incredibly sad news and he will be missed by so many people

how did you get on with the syntax issue?

Sign in to reply to this post

Peterson Design Studio - jefferis

Update from 5.7 to 8.0

My Host is forcing an update from PHP 5.7 to 8.0 my last update to a site was in August 2021 It has protected logins, products and an ordering system. Will it be required to update the files on this site with the ones you have provided :
mysqli.zip
rsobj.php
form_validations.zip Or are they current?
Also, if they need to be replaced, can I just replace these files without rerunning the Data base plugin? And will these newer files still work with 5.7? The switchover is supposed to happen on the 20th.
TIA,
Jeff

Sign in to reply to this post

Mags

I'm pretty sure you'll need to replace the files but maybe try it without replacing first. I didn't need to rerun any server behaviors when I upgraded, I just replaced the files. You may need to make other changes as it really depends on which extensions you're using, or if there are any manual customisations. I don't know if you have the option of testing the site in advance by cloning it to a testing domain and running it on php8 - that's what I did so that I could find and fix any errors before upgrading the live site. You can also use PHP error reporting to help diagnose and fix any errors - if a page doesn't work, add the following code to the very top and load it again:

<?php
error_reporting(E_ALL);
ini_set('display_errors','on');
?>

Take a note of the error and either ask in the forums or you could also trying asking ChatGPT as it's very good at working out what might be causing an error and how to fix it: https://chatgpt.com/

Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...