Closed OutbackMatt closed 6 years ago
I think you have a set up issue. For instance, the path to the Log.php file shows in the error message as /usr/share/php/Log.php. The actual path is include/class/Log.php. So I think your path set up is causing the log file from php to be accessed, not the one from SI.
All for now and for Him,
Rich Rowley
From: Matt Gilchrist notifications@github.com Sent: Tuesday, November 13, 2018 5:58 AM To: fearless359/simpleinvoices simpleinvoices@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: [fearless359/simpleinvoices] Log issues when using master in PHP7 (#51)
Hi Rich,
I get the following issues when I use your current master... I have to uncomment every single log::out in the entire build to use it
Matt
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Log has a deprecated constructor in /usr/share/php/Log.php on line 38
Deprecated: Non-static method Log::open() should not be called statically in /var/www/html2/mattgilchrist/simpleinvoices-master/include/init.php on line 61
Fatal error: Uncaught Error: Call to undefined method Log::out() in /var/www/html2/mattgilchrist/simpleinvoices-master/include/init.php:62 Stack trace: #0 /var/www/html2/mattgilchrist/simpleinvoices-master/index.php(33): require_once() #1 https://github.com/fearless359/simpleinvoices/pull/1 {main} thrown in /var/www/html2/mattgilchrist/simpleinvoices-master/include/init.php on line 62
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/fearless359/simpleinvoices/issues/51 , or mute the thread https://github.com/notifications/unsubscribe-auth/AFK8Fbs8S-7PLr0ZnrwR76OX1qF4dJziks5uus_ygaJpZM4YbtQF . https://github.com/notifications/beacon/AFK8Fd5pDxIcXvXqWW3KCU7vty4uFcfyks5uus_ygaJpZM4YbtQF.gif
Sorry, sorted it, moving on...