Xampp 7.0.3 PHP errors / Apache issue

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Xampp 7.0.3 PHP errors / Apache issue

Postby rowanma » 03. May 2016 07:10

OS: Windows 2008 R2 Sp1 64 Bit
Xampp Version: 7.0.3
PHP Version: 7

The Apache service is still running however suddenly I start getting errors such as the below from PHP roughly every 2 days.
I restart the apache service and then things go back to normal.
The apache service doesn't stop at all until manual intervention.

[02-May-2016 03:48:38 Europe/Berlin] PHP Fatal error: Class Slim\Collection contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Countable::count) in C:\xampp\htdocs\vendor\slim\slim\Slim\Collection.php on line 21

I am wondering if anyone knows a cause? It is not a code issue as it never happens on my test server and every 2 days roughly seems odd.

I am enabling the server-status mod from apache to monitor it manually

Any pointers on where to look would help. I am willing to downgrade to php 5.6 if required.
rowanma
 
Posts: 2
Joined: 03. May 2016 06:57
XAMPP version: 7
Operating System: Windows Server 2008 R2

Re: Xampp 7.0.3 PHP errors / Apache issue

Postby Nobbie » 03. May 2016 11:08

rowanma wrote:t is not a code issue as it never happens on my test server and every 2 days roughly seems odd.


it Is a code issue, but maybe older PHP versions did not recognize it. PHP7 seems to do a better syntax check?! If it is your code, you should be able to follow the error message and fix the code, if it is not your code, pass it back to the developer.
Nobbie
 
Posts: 8770
Joined: 09. March 2008 13:04

Re: Xampp 7.0.3 PHP errors / Apache issue

Postby rowanma » 04. May 2016 03:10

Nobbie wrote:
rowanma wrote:t is not a code issue as it never happens on my test server and every 2 days roughly seems odd.


it Is a code issue, but maybe older PHP versions did not recognize it. PHP7 seems to do a better syntax check?! If it is your code, you should be able to follow the error message and fix the code, if it is not your code, pass it back to the developer.


Any idea why it is taking 2 days for this issue to occur again and why a restart of apache service fixes it?
This doesnt seem like a code issue it is to random. If it was something like a memory leak (just an example of an issue that takes time to build up) how would i best be able to determine this?
rowanma
 
Posts: 2
Joined: 03. May 2016 06:57
XAMPP version: 7
Operating System: Windows Server 2008 R2

Re: Xampp 7.0.3 PHP errors / Apache issue

Postby Altrea » 04. May 2016 06:54

rowanma wrote:[02-May-2016 03:48:38 Europe/Berlin] PHP Fatal error: Class Slim\Collection contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Countable::count) in C:\xampp\htdocs\vendor\slim\slim\Slim\Collection.php on line 21

If this error only occurs every 2 days than your code is only used every 2 days. This is a static error that occurs every time this code is used. Thats a fact.

But maybe you don't meant to show us this specific error but an behaviour?
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8293
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: Xampp 7.0.3 PHP errors / Apache issue

Postby Nobbie » 04. May 2016 10:39

rowanma wrote:Any idea why it is taking 2 days for this issue to occur again


Obviously it is not executed more often. So simple.

rowanma wrote:This doesnt seem like a code issue it is to random. If it was something like a memory leak (just an example of an issue that takes time to build up) how would i best be able to determine this?


Why did you ask here if you already know better? I tell you, it is a code issue and it is already known, i found it in Google already. Enter the error message (or parts of it) into Google, you will find this:

http://stackoverflow.com/questions/2377 ... ct-or-impl

It seems to be a typo3 installation or similar, but you dont want to tell us, I give up at this point.
Nobbie
 
Posts: 8770
Joined: 09. March 2008 13:04


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 65 guests