TOPIC:

facileforms.process.php(1246) : eval()'d code on line 6 1 year 1 week ago #271500

  • Topic Author
  • jasonone3
  • Offline
  • New Member
  • New Member
  • Registered
  • Posts: 1
  • Thanks: 0
Hi,

Using build 939 and PHP 8.0.

Getting this error on form submission...

Fatal error: Array and string offset access syntax with curly braces is no longer supported in .........components/com_breezingforms/facileforms.process.php(1245) : eval()'d code on line 6

Inspected $code in line 1245 facileforms.process.php. It contains towards the end '....&& $url{$len-1}.....'. Couldn't find where this code is inserted.

My quick fix was just to replace that string with...

$code = str_replace('{$len-1}','[$len-1]',$code);

Hope there is a fix for this.

Thanks.
Jason

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

facileforms.process.php(1246) : eval()'d code on line 6 1 year 1 week ago #271501

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Registered
  • Posts: 12079
  • Thanks: 780
Hi,


Please go to:
1) In Manage Pieces, find script: ff_makePageUrl

In this line of code:
 if ($len > 0 && $url{$len-1} != '/') $url .= '/';
replace {} with [] , like this:
 if ($len > 0 && $url[$len-1] != '/') $url .= '/';

2) in
/administrator/components/com_breezingforms/admin/download.php
in line 25 and line 28 replace {} with []

Also, here is fixed download.php (unzip it first):

File Attachment:

File Name: download2_...3-18.zip
File Size:1 KB


Regards,
Tihana
Attachments:

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

Last edit: Post by tihana.krivic.
  • Page:
  • 1
Moderators: ForumSupport
Time to create page: 0.045 seconds

Support Chat

Join our Discord chat and enter the Crosstec channels for live-support, chat forums and interact directly with the community!

After joining, please enter the Crosstec Area and use the #crosstec-support or #crosstec-general channels.

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

Subscribe to news and updates!

Special Offer

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!

Live Support Chat Opened!

Join our Discord chat here and enter the Crosstec channels to receive live support and talk directly to the team!