binaryage / binaryage/firelogger.php

PHP Fatal error: Interface 'Psr\\Log\\LoggerInterface'

Ouverte
#21 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
PHP
Étoiles
68
Forks
16
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

One of our developers is using firelogger and developed issues with this on our linux server

I downloaded your current package and placed it on the webserver and got the following message in the apache logs when i ran basic.php (also had to copy FireLogger.php to firelogger.php):

PHP Fatal error: Interface 'Psr\Log\LoggerInterface' not found in /var/www/html/firelogger.php-master/firelogger.php on line 36

I am using Centos 7 and php version 5.4.16. Is there something I need to add to my php implementation to make this work?

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

Start by reproducing the failure from basic.php on the reported PHP 5.4.16 and inspect firelogger.php around line 36. Check how the package provides or loads Psr\Log\LoggerInterface; done means basic.php runs without the fatal error on the reported environment, with the required setup documented or verified.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
php
Domaine
backend
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
25/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.