TOPIC:

PHP8 problem in Classic mode ; function eval() 11 months 2 weeks ago #267122

  • Topic Author
  • gillesboerlage
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 6
  • Thanks: 0
Website runs with PHP 8
BreezingForms 191-941
installed: BF941_fixforPHP8

Problem: white screen upon opening a "classic" form having InitLib functions.
PHP_error: eval()'d code
Fatal error: Array and string offset access syntax with curly braces is no longer supported in
..\components\com_breezingforms\facileforms.process.php (line 1245)

line 1240:
function execPiece($code, $name, $type, $id, $pane) {
$ret = '';
if ($this->prepareEvalCode($code, $name, $type, $id, $pane)) {
$this->traceEval($name);
$ret = eval($code); / * ********************** */
} // if
return $ret;
}

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

Last edit: Post by gillesboerlage.

PHP8 problem in Classic mode ; function eval() 11 months 2 weeks ago #267123

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

could you please send me login infomation, backend link and ftp access that I can directly fix it on your page?

Use this tag:
[confidential]
[/confidential]
Only forum moderator can see it

Regards,
Tihana

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

PHP8 problem in Classic mode ; function eval() 11 months 2 weeks ago #267135

  • Topic Author
  • gillesboerlage
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 6
  • Thanks: 0
This message contains confidential information

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

PHP8 problem in Classic mode ; function eval() 11 months 2 weeks ago #267136

  • Topic Author
  • gillesboerlage
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 6
  • Thanks: 0
There is a simple form in the package Test-environment: test_form
Also having a menu-option for it, on the front-end too; login and on top in the menu on the richt hand side.

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

PHP8 problem in Classic mode ; function eval() 11 months 2 weeks ago #267137

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

could you please check again if this error is here?
also I see that you have error 500, please find errorlog, if you can't find ask your host provider, and post errors here

Regards,
Tihana

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

PHP8 problem in Classic mode ; function eval() 11 months 2 weeks ago #267142

  • Topic Author
  • gillesboerlage
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 6
  • Thanks: 0
I will check the error 500.
The forms give a white screen; the error message is:
Fatal error: Array and string offset access syntax with curly braces is no longer supported in /var/www/vhosts/fastlogi.nl/httpdocs/components/com_breezingforms/facileforms.process.php(1246) : eval()'d code on line 6

The eval-function seems to be used to load the pieces (stored in a dbase-table).
If I remove in Before Form "$this->execPieceByName('ff_InitLib');", the form opens normally.
Still I need the stored Pieces so this is not a final solution!!

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

Last edit: Post by gillesboerlage.
Time to create page: 0.051 seconds

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

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!