View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Supportez nous sur Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - PHP ***** ERROR ***** cause = is_a(): Deprecated. Please use the instanceof operator - ProjeQtOr

Prochaines Sessions

Les prochaines formations et démonstrations sont ouvertes, inscrivez-vous rapidement !

 

Démonstration de ProjeQtOr

(gratuit, sur inscription)
 

13 mai 2025 (10h30-12h)

5 juin 2025 (16h-17h30)

 
 

Planifiez avec ProjeQtOr

14 et 15 mai 2025 (9h-12h30)

18 et 19 juin 2025 (9h-12h30)

 
 

Administrez avec ProjeQtOr

20 et 21 mai (9h-12h30)

25 et 26 juin (9h-12h30)

 

 

 

PHP ***** ERROR ***** cause = is_a(): Deprecated. Please use the instanceof operator

More
23 Jan 2016 06:56 - 23 Jan 2016 16:39 #1 by hawkeye
:blink:
After creating a completely new 5.2.1. environment for testing issues

1) :huh:
on creating almost any new object ticket, activity ...a.s.o. the following PHP error occurs:
2016-01-23 06:37:40.451 ***** ERROR ***** ERROR *****
2016-01-23 06:37:40.452 ***** ERROR ***** on file 'E:\develop\php_mysql_bsp\projeqtor_new\model\persistence\SqlElement.php' at line (4229)
2016-01-23 06:37:40.453 ***** ERROR ***** cause = is_a(): Deprecated. Please use the instanceof operator

this error occurs once per to be created object and somehow appears to be is similar to Ticket #1937 by lfrugere !

Changing the operator towards PHP5 compatibility makes the program run much more smoothly:

public static function is_a($object,$class) {
global $hideAutoloadError;
$hideAutoloadError=true; // Avoid error message in autoload
//$result=is_a($object,$class); // is_a classic
$result=($object instanceof $class); // instanceof in PHP5 style makes it run more smoothly
$hideAutoloadError=true;
return $result;
}
2) :oops:
language hr is not selectable in the parameter dialogue when creating a completely new 5.2.1. environment

Thank you ! :)
Last edit: 23 Jan 2016 16:39 by hawkeye. Reason: found a way to solve 1), but 2) is still open

Please Connexion or Create an account to join the conversation.

More
24 Jan 2016 14:43 #2 by babynus
1) is_a is deprecated from php 5.0 to 5.2, but not any more in PHP 5.3
There is a difference between is_a and instanceof as is_a accepts a string and not only an object.
Workaround will be proposed on patch 5.2.2

2) will be fixed in V5.2.2

Babynus
Administrator of ProjeQtOr web site

Please Connexion or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.042 seconds

Paramétrages de cookies

×

Cookies fonctionnels

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Veuillez vous connecter pour voir vos activités!

Autres cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.