contao/test — Issue #1155: Compatibility with PHP 5.2.10 and higher
Author: importer
Created: 2011-11-29 07:26:21+00:00
State: open
Labels: Defect, Invalid

Since I installed the new MAMP, an error occur with a hook I made in a private custom extension:

```
Runtime notice: Declaration of MyPrivateExtension::getPageIdFromUrl() should be compatible with that of Frontend::getPageIdFromUrl()
```

The problem is that the declaration of "getPageIdFromUrl" has no argument in "Frontend", but need the $arrFragments in "MyPrivateExtension".

--- _Originally created by cbadoud on November 11th, 2009, at 02:17pm (ID 1155)_