TOPIC:

PHP8 problem in Classic mode ; function eval() 1 month 2 days ago #278671

  • jooomlaa's Avatar
  • jooomlaa
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 51
  • Thanks: 1
It's so blatant that BF is still struggling with Php8 problems and these are not solved. I use BF in almost every one of my client projects. My hoster wants to switch off Php7.4 in 2 weeks and only allow Php8. The forms will then no longer work in all projects. I use eval() there for spam protection functions. Really sad.
It's been known on the net for a long time that support for Php7.4 will expire on November 22nd.

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

PHP8 problem in Classic mode ; function eval() 1 month 1 day ago #278681

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

I have a fixed version for joomla 3 and BF with php 8.

Can I send it to your email you have on crosstec site?

I can't add it for download in crosstec's site, because I haven't access to this, only site admin can do this

Regards,
Tihana

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

PHP8 problem in Classic mode ; function eval() 3 weeks 3 days ago #278863

  • cooperj54
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 1
  • Thanks: 0
How to solve this error? I face this error. Any Qualified Expert Here.

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

Last edit: Post by cooperj54.

PHP8 problem in Classic mode ; function eval() 3 weeks 3 days ago #278864

  • jooomlaa's Avatar
  • jooomlaa
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 51
  • Thanks: 1
There are several errors that need to be corrected. Which one occurs to you?

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

PHP8 problem in Classic mode ; function eval() 3 weeks 3 days ago #278865

  • jooomlaa's Avatar
  • jooomlaa
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 51
  • Thanks: 1
Call to undefined function get_magic_quotes_gpc()

in this Script:
joomlaroot/administrator/components/com_breezingforms/libraries/crosstec/functions/helpers.php

comment out like this:
function bf_stripslashes_deep( $value ) {
/* if ( @get_magic_quotes_gpc() ) {
$value = is_array( $value ) ?
array_map( 'bf_stripslashes_deep', $value ) :
stripslashes( $value );
}
*/
return $value;
}


count(): Argument #1 ($value) must be of type Countable|array, null given
\administrator\components\com_breezingforms\admin.breezingforms.php:1129

search:
if (@count($oldscripts))
replace:
if (@count(array($oldscripts)))
search:
if (@count($oldpieces))
replace:
if (@count(array($oldpieces)))

in pieces BE use [...] instead of {...}:
function ff_makePageUrl($params='')
{
$url = '{mossite}';
if ($params != '') {
$len = strlen($url);
if ($len > 0 && $url{$len-1} != '/') $url .= '/';
$url .= $params;
} // if
return $url;
} // ff_makePageUrl

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

PHP8 problem in Classic mode ; function eval() 3 weeks 3 days ago #278879

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

@jooomla :D

@cooperj54 let us know when you make a changes, and result too

Regards,
Tihana

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

Last edit: Post by tihana.krivic.
Time to create page: 0.096 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!