binaryage / binaryage/firelogger.php

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

Open
#21 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
68
Forks
16
PR merge metrics
No merged PRs in 30d

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?

Contributor guide

No contributing guide indexed for this repository

Research direction

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.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.