TOPIC:

Another PHP 8.0 Issue 9 months 1 week ago #269785

  • Topic Author
  • thering1975
  • Offline
  • Senior Breezer
  • Senior Breezer
  • Posts: 91
  • Thanks: 0
So as recommended updated one site to V8.0 and made the tweak ref magic quotes so i could access the actual backend.

However now when i try to link google drive in the backend of one of the forms, as soon as i enter the 2 codes and click save. I get a blank white page and the info is not saved.

Looking in the logs i see this error message:
Got error 'PHP message: PHP Fatal error:  Array and string offset access syntax with curly braces is no longer supported in xxx/xxx/xxx/ /public_html/plugins/breezingforms_addons/gdata/breezingforms_addons_gdata_libraries/Google/Utils.php on line 65

This is on:

BF 1.9.1 Stable (941)
PHP 8.0.15
Joomla 3.10.6

I also cannot install the Module as this errors out in the installer.

The fact that according to the extension manager the latest BF version is 2+ years old (downloaded today) the fixes aren't likely to be coming anytime soon as i see many issues on the forums ref Php 8.0 with a promise of a new version which obviously does not seem to exist

Please Log in or Create an account to join the conversation.

Another PHP 8.0 Issue 9 months 1 week ago #269786

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 11658
  • Karma: 3
  • Thanks: 757
Hi,

here you can find fix for breezingforms and php8:
crosstec.org/en/forums/41-breezingforms-...or-php-8.html#269665

If you have a problem with gdata, then I will send this to my colleague who is working on fix of gdata
Because team from google drive change everything and we needed to fix plugin, my colleague Mirko works on this

Regards,
Tihana

Please Log in or Create an account to join the conversation.

Last edit: Post by tihana.krivic.

Another PHP 8.0 Issue 9 months 1 week ago #269787

  • Topic Author
  • thering1975
  • Offline
  • Senior Breezer
  • Senior Breezer
  • Posts: 91
  • Thanks: 0
Forbidden Link

And also, the error in in your coding for the Gdata plugin, not Google Drive, the authentication bit works fine, its the saving of the token, and as you can see the PHP error above is nothing to do with Google

Please Log in or Create an account to join the conversation.

Last edit: Post by thering1975.

Another PHP 8.0 Issue 9 months 1 week ago #269788

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 11658
  • Karma: 3
  • Thanks: 757
Hi,

please go to this path:
/public_html/plugins/breezingforms_addons/gdata/breezingforms_addons_gdata_libraries/Google/Utils.php
and in line 65 you will see this code:
      $ordinalValue = ord($str{$ret});
replace curly braces with [] like this
$ordinalValue = ord($str[$ret]);
and that is it

Regards,
Tihana

Please Log in or Create an account to join the conversation.

Another PHP 8.0 Issue 9 months 1 week ago #269791

  • Topic Author
  • thering1975
  • Offline
  • Senior Breezer
  • Senior Breezer
  • Posts: 91
  • Thanks: 0
Okay

That gets rid of the php error, but you are right the gdrive plugin is broken as after entering the code it saves. then nothing it jjust goes back to the screen where you click the oauth button.

Also tried with my own GAuth client ID's and the same, it does not seem to save or link to Gdrive just refreshes and shows the gdrive login button

Thanks anyway

Please Log in or Create an account to join the conversation.

Last edit: Post by thering1975.

Another PHP 8.0 Issue 9 months 1 week ago #269792

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 11658
  • Karma: 3
  • Thanks: 757
Hi,

I will forward this topic to my colleague who is working on gdata plugin.
You can contact him on email: ma@evolutio.hr

He will sent you fixed version of gdata

Regards,
Tihana

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
  • 2
Moderators: ForumSupport
Time to create page: 0.131 seconds

BreezingForms Pro 1.4.7 for WordPress Released!

Available in the membership section.

September Discount!

Massive discounts on all subscriptions!

Get Your Subscription Here

Quick Links

Downloads

BreezingForms

ContentBuilder

BreezingCommerce

Templates

Documentation

BreezingForms

ContentBuilder

BreezingCommerce

Apprendre BreezingForms (French Community)

Apprendre et maîtriser BreezingForms par des tutoriels et exemples, le tout en français

breezingforms.eddy-vh.com

Questions et réponses sur les forums de l'AFUJ

AFUJ

Special Offer

Summer Sale! All subscriptions at a special price!

Includes prio support, all of our current and future Joomla!® extensions and Joomla!® templates for the duration of your membership.

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!