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

Open
#21 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

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.

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?

Dominant language
PHP
Stars
68
Forks
16
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from binaryage/firelogger.php

All issues in binaryage/firelogger.php

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.