Bienvenido, Invitado
Recordarme

TEMA:

Undefined Function 11 meses 1 semana antes #267262

Hi Tihana,
No this is an installation on my computer...
The only thing that is different with the installations on the servers is that on my localhost we have a PHP version 8 (on the servers 7.4). Could this be the issue?

Michiel

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

Undefined Function 11 meses 1 semana antes #267263

  • Avatar de tihana.krivic
  • tihana.krivic
  • Conectado
  • Moderator
  • Moderator
  • Mensajes: 11761
  • Karma: 3
  • Gracias recibidas: 761
Hi,

I think not.

Please install version of BF form My account->My download->and then report here errors which you will see when you are using php 8, I will help you to fix it.

Or I can fix it using TeamViewer

You can contact me on tk@evolutio.hr

Regards,
Tihana

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

Última Edición: Post by tihana.krivic.

Undefined Function 11 meses 1 semana antes #267264

Hi,

we get: Call to undefined function get_magic_quotes_gpc()

after install 1.9.1 Stable (941)

regards,
michiel
Adjuntos:

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

Undefined Function 11 meses 1 semana antes #267265

  • Avatar de tihana.krivic
  • tihana.krivic
  • Conectado
  • Moderator
  • Moderator
  • Mensajes: 11761
  • Karma: 3
  • Gracias recibidas: 761
Hi,

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 the next error, if you have it

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.

Última Edición: Post by tihana.krivic.

Undefined Function 11 meses 1 semana antes #267280

Hi Tihana,

Now we get this:
count(): Argument #1 ($value) must be of type Countable|array, null given
D:\XAMPP\htdocs\Joomla310\administrator\components\com_breezingforms\admin.breezingforms.php:1129

See sceenshots

regards,
michiel
Adjuntos:

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

Undefined Function 11 meses 1 semana antes #267281

  • Avatar de tihana.krivic
  • tihana.krivic
  • Conectado
  • Moderator
  • Moderator
  • Mensajes: 11761
  • Karma: 3
  • Gracias recibidas: 761
Hi,

go to that path, and in line 1129 you will see this:
    if (@count($oldscripts))
change it to:
    if (@count(array($oldscripts)))
and in line 1144 you will see:
    if (@count($oldpieces))
change it to:
    if (@count(array($oldpieces)))

Regards,
Tihana

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

Tiempo de carga de la página: 0.085 segundos