TEMA:

Error with PHP 8.0 1 año 9 meses antes #267268

  • Autor del tema
  • w13ear
  • Fuera de línea
  • Navegador Junior
  • Navegador Junior
  • Registered
  • Mensajes: 65
  • Gracias recibidas: 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.

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

Error with PHP 8.0 1 año 9 meses antes #267271

  • Avatar de tihana.krivic
  • tihana.krivic
  • Fuera de línea
  • Moderador
  • Moderador
  • Registered
  • Mensajes: 12079
  • Gracias recibidas: 788
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

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

Error with PHP 8.0 1 año 9 meses antes #267274

  • jessing.s
  • Fuera de línea
  • Navegador Iniciado
  • Navegador Iniciado
  • Registered
  • Mensajes: 12
  • Gracias recibidas: 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

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

Error with PHP 8.0 1 año 9 meses antes #267275

  • Avatar de tihana.krivic
  • tihana.krivic
  • Fuera de línea
  • Moderador
  • Moderador
  • Registered
  • Mensajes: 12079
  • Gracias recibidas: 788
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

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

  • Página:
  • 1
Tiempo de carga de la página: 0.055 segundos

Live Support Chat Opened!

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