Reputation: 897
I copied a TYPO3 site from the server to localhost, TYPO3 version 4.5. I set db credentials in localconf and when I launch the site I got this error.
Runtime Notice: Declaration of tx_ttnews_categorytree::getTree() should be
compatible with t3lib_treeView::getTree($uid, $depth = 999, $depthData = '',
$blankLineCode = '', $subCSSclass = '')
I found same problem with Google but no solution, or in a language I was not able to understand.
I tried to delete every cache I was able to find, both from files and from db.
EDIT
Upvotes: 1
Views: 2523
Reputation: 3734
As mentioned in the comments, there might be several issues with your local installation.
Try this (edited):
$TYPO3_CONF_VARS['SYS']['exceptionalErrors'] = E_ALL ^ E_NOTICE ^ E_DEPRECATED ^ E_WARNING ^ E_USER_ERROR ^ E_USER_NOTICE ^ E_USER_WARNING ^ E_STRICT;
(change bitmask, source), or $TYPO3_CONF_VARS['SYS']['displayErrors'] = 0;
(off)This should remove the message in the frontend. You can alternatively try these untested suggestions:
tt_news
, uninstall (Or update it - there is an issue with tt_news 3.2.x, maybe it's obsolete since 3.4.0)Sources (German):
Upvotes: 6