TOPIC:

Error with PHP 8.0 4 weeks 1 day ago #267268

  • Topic Author
  • w13ear
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 65
  • Thanks: 0
Hi,

I get an error when updating to PHP 8.0.

This is the error:
Call to undefined function get_magic_quotes_gpc()

Hope you can fix this.

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

Error with PHP 8.0 4 weeks 1 day ago #267271

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 8299
  • Karma: 3
  • Thanks: 574
please go to:
joomlaroot/administrator/components/com_breezingforms/libraries/crosstec/functions/helpers.php
around line 582-589 you will see 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;
}

Please comment the code from line 583 to 587

The whole code looks like:
function bf_stripslashes_deep( $value ) {
	/* if ( @get_magic_quotes_gpc() ) {
		$value = is_array( $value ) ?
			array_map( 'bf_stripslashes_deep', $value ) :
			stripslashes( $value );
	}
*/
	return $value;
}
This function is removed from php 8, and this is the reason why we comment it

Let me know if you need more help

P.S:if you have any other error, please go to System->Global configurtion->System->Debug System->set to Yes.
and in System->Global configurtion->Server->Error reporting->set to Maximum, and post here where error happens

Regards,
Tihana

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

Error with PHP 8.0 4 weeks 1 day ago #267274

  • jessing.s
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 6
  • Thanks: 0
the php function get_magic_quotes_gpc() is deprecated and removed since PHP Version 8.0.0...

go back to PHP 7.4.26 and wait for an update

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

Error with PHP 8.0 4 weeks 1 day ago #267275

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

if you want, I will solve all error for php 8 directly on your page.Just switch to php 8, and send me login information ,backend link, and ftp access.

Use this tag:
[confidential]
[/confidential]

Regards,
Tihana

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

  • Page:
  • 1
Time to create page: 0.043 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!