close ad
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

syntax error on OAuth.php

Thread began 8/27/2023 8:39 pm by vered435903 | Last modified 8/27/2023 8:39 pm by vered435903 | 59 views | 0 replies


syntax error on OAuth.php


I'm building a new but simple contact form on a site. The site was built many years ago on HTML 3 and Bootstrap 3 with some very, very old Webassist functionality. I'm working on progressively updating it - the home page is done and now I'm working on the contact form. Then I'll keep working through the site, page-by-page; it's a huge site.

I've cleared out all the old Webassit files from the server and have replaced them with the current files. I recently built a very similar form on another client's site that is working well; I have compared the two but I can't find any discrepancies. However, I'm getting an error:
Parse error: syntax error, unexpected '[' in /home/dtaxtt8bb2k95jot/public_html/webassist/email/phpmailer/src/OAuth.php on line 115

I'm going to replace the live Contact page with a place-holder so it'll load while we troubleshoot.

Here's a temporary page with the error:

Thanks for any advice you can offer!

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





Ease of use


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...