tollwerk / TYPO3-ext-tw_lucenesearch

Simple and lightweight implementation of the Apache Lucene Index as frontend search solution for TYPO3. Created by Joschi Kuphal (@jkphl), licensed under the terms of the GPL v2 license.
http://typo3.org/extensions/repository/view/tw_lucenesearch/
GNU General Public License v2.0
4 stars 3 forks source link

Broken Backend Module TYPO3 7.6 #16

Closed snduesel closed 7 years ago

snduesel commented 7 years ago

When you open the backend module comes this exception:

PHP Warning: Declaration of Tollwerk\TwLucenesearch\ViewHelpers\Link\PreviewViewHelper::render(array $reference) should be compatible with TYPO3\CMS\Fluid\ViewHelpers\Link\PageViewHelper::render($pageUid = NULL, array $additionalParams = Array, $pageType = 0, $noCache = false, $noCacheHash = false, $section = '', $linkAccessRestrictedPages = false, $absolute = false, $addQueryString = false, array $argumentsToBeExcludedFromQueryString = Array, $addQueryStringMethod = NULL) in typo3conf\ext\tw_lucenesearch\Classes\ViewHelpers\Link\PreviewViewHelper.php line 47

jkphl commented 7 years ago

@snduesel Thanks for reporting. To make further investigation possible, please provide me with

Thanks!

snduesel commented 7 years ago

Hi @jkphl,

the situation: backend module on a indexed site, ModuleController->pageAction tw_lucenesearch\Resources\Private\Backend\Partials\Document\Table.html Line: 87

Fluid/TYPO3 Version: TYPO3 7.6(.14)

Thanks!

snduesel commented 7 years ago

Hi @jkphl,

its necessary to register argument reference. Here my new suggestion:

tw_luncensearch.zip

akoppa commented 6 years ago

I experienced a similar problem while importing TYPO3 6.2 into 7.6.31. I have used the export .t3d method and fixing errors due to old extensions. Then I installed some new extensions and everything was going okay until I installed the Disqus extension: Bomb! Broken Backend!

Previously I have had a similar problem, so this time instead of trying to fix the damage I did a new approach.

My solution: I backed up the database just in case. Renamed the database and created a blank new one. Reinstalled TYPO3, reinstalled the new extensions and closed it. Deleted the last created database and renamed the old one to the original name. Done. System recovered.