TOPIC:

0 Call to undefined function get_magic_quotes_gpc() 1 month 2 days ago #262681

  • Topic Author
  • pruegg
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 10
  • Thanks: 0
I have a new installation with php8 and joomla 3.10. If I click on any of the component breezingform , I got this error:
0 Call to undefined function get_magic_quotes_gpc()

Do I have to downgrade the php?

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

Last edit: Post by pruegg.

0 Call to undefined function get_magic_quotes_gpc() 1 month 2 days ago #262682

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 6926
  • Karma: 3
  • Thanks: 493

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

Last edit: Post by tihana.krivic.

0 Call to undefined function get_magic_quotes_gpc() 1 month 2 days ago #262692

  • gwsdesk's Avatar
  • gwsdesk
  • Offline
  • Moderator
  • Moderator
  • Already being the preferred Service Provider
  • Posts: 218
  • Karma: 73
  • Thanks: 23
Hi,

please use newer version of joomla (latest is 3.9.28).

With all respect but on 17th of august Joomla 3.10 was released. Please use that

Leo D)
Breezingforms Professional Support Services :: gws-desk.com/extensions-support/breezingforms-support
Joomla Specialized Hosting :: gws-host.com
Joomla Specialized Webmaster Services : Hire Your Webmaster! :: gws-webmaster.services
Ex Member of the Joomla Bug Squad & Joomla CMS - Release Team

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

0 Call to undefined function get_magic_quotes_gpc() 2 weeks 6 days ago #263134

  • Paalonline
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 2
  • Thanks: 0
The link to the fix for PHP 8 seems to be unavailable.

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

0 Call to undefined function get_magic_quotes_gpc() 2 weeks 6 days ago #263135

  • Mirec's Avatar
  • Mirec
  • Offline
  • Ultimate Breezer
  • Ultimate Breezer
  • Posts: 957
  • Karma: 2
  • Thanks: 50
Hi,


This function (function get_magic_quotes_gpc()) has been deprecated as of PHP 7.4, and removed as of PHP 8

So, 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 will be fixed in the next update.


Regards,
Mirko

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

Last edit: Post by Mirec.

0 Call to undefined function get_magic_quotes_gpc() 2 weeks 6 days ago #263136

  • Paalonline
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 2
  • Thanks: 0

Mirec wrote: Hi,

I will post content from the link here.


Perfect ! Thank you very much.

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

Last edit: Post by Paalonline.
  • Page:
  • 1
  • 2
Moderators: ForumSupport
Time to create page: 0.053 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!