Archives de la liste a​i​d​e​@p​a​h​e​k​o​.c​l​o​u​d​

garradin pb

team@spipfactory.fr

15/06/2021 19:40:30

Hello sur

> Garradin
>
> Version installée
>     1.1.4 [release]
>
>     Une nouvelle version *1.1.7* est disponible !
>     Aller télécharger la nouvelle version
>     <https://fossil.kd2.org/garradin/>
>
> Informations système
>     Version PHP : 8.0.0
>     Version SQLite : 3.27.2
>     Heure du serveur : 15/06/2021 à 19:38
>     Chiffrement GnuPG : non, module PHP gnupg non installé ?
>

hebergeur alwaydata

j'ai l'erreur suivante , un idée


  Une erreur s'est produite


  PHP error


    Class "Garradin\Entities\Accounting\Chart" not found


      in .../include/lib/KD2/DB/*EntityManager.php*:/105/

|*101*	* @return null|AbstractEntity *102*	*/ *103*	static public 
function findOneById(string $class, int $id) *104*	{ _*105*	$query = 
sprintf('SELECT * FROM %s WHERE id = ?;', $class::TABLE);_ *106*	return 
self::findOne($class, $query, $id); *107*	} *108* *109*	/** |


      in .../include/lib/Garradin/Accounting/*Charts.php*:/14/


        → KD2\DB\EntityManager::findOneById /(2 arg.)/

$class 	

string(34) "Garradin\Entities\Accounting\Chart"

$id 	

int(2)

|*10*class Charts *11*{ *12*	static public function get(int $id) *13*	{ 
_*14*	return EntityManager::findOneById(Chart::class, $id);_ *15*	} *16* 
*17*	static public function list() *18*	{ |


      in .../www/admin/acc/charts/accounts/*index.php*:/11/


        → Garradin\Accounting\Charts::get /(1 arg.)/

$id 	

int(2)

|*7* *8*$chart = null; *9* *10*if ($id = (int)qg('id')) { _*11*	$chart = 
Charts::get($id);_ *12*} *13*elseif (CURRENT_YEAR_ID) { *14*	$year = 
$current_year; *15*	$chart = $year->chart(); |


    Context

id 	aj8a31mu
date 	2021-06-15T19:36:57+02:00
os 	Linux
language 	PHP 8.0.0
environment 	development
php_sapi 	cgi-fcgi
remote_ip 	2a01:e0a:2b1:68a0:fe7e:1e35:60d2:575
http_method 	GET
files_sent 	array(0) { }
rootDirectory 	/home/spipfactory/www/garradin-1.1.4
garradin_data_root 	/home/spipfactory/www/garradin-1.1.4/data
garradin_version 	1.1.4
url 	https://spipfactory.alwaysdata.net/admin/acc/charts/accounts/?id=2