Project

General

Profile

Actions

Bug #75866

closed

Fatal error: Argument to convertPlainArrayToTypoScriptArray() must be of the type array, null given

Added by Christian Weiske over 8 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Indexed Search
Target version:
Start date:
2016-04-22
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
easy
Is Regression:
No
Sprint Focus:
On Location Sprint

Description

When adding the plugin "Indexed Search (Extbase & Fluid based)" to a page and viewing it in the frontend (without any further TypoScript configuration), I get a fatal error:

#1: PHP Catchable Fatal Error: Argument 1 passed to
 TYPO3\CMS\Extbase\Service\TypoScriptService::convertPlainArrayToTypoScriptArray()
 must be of the type array, null given,
 called in .../typo3/sysext/indexed_search/Classes/Controller/SearchController.php on line 1429 and
 defined in .../typo3/sysext/extbase/Classes/Service/TypoScriptService.php line 64

Happens with TYPO3 7.6.4.

Actions #1

Updated by Gerrit Code Review over 8 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/47857

Actions #2

Updated by Gerrit Code Review over 8 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/47857

Actions #3

Updated by J. Henning about 8 years ago

Had the same issue in Typo3 7.6.10 and the patch was the solution.
When will this be integrated into the sysext in the core.

Actions #4

Updated by Tymoteusz Motylewski about 8 years ago

  • Status changed from Under Review to New
  • Target version set to 8.4
  • Complexity set to easy
  • Sprint Focus set to On Location Sprint

The fatal error only occurs if the static template from indexed search is not included in TS template.

Of course the plugin should never throw fatal error. So the correct solution for this issue would be to check if the static template is included (e.g. by checking some configuration which is always set) and show error info.

Actions #5

Updated by Tomita Militaru about 8 years ago

I'm on it.

Actions #6

Updated by Gerrit Code Review about 8 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/49812

Actions #7

Updated by Gerrit Code Review about 8 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/49812

Actions #8

Updated by Gerrit Code Review about 8 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/49812

Actions #9

Updated by Gerrit Code Review about 8 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/49812

Actions #10

Updated by Gerrit Code Review about 8 years ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/49812

Actions #11

Updated by Tomita Militaru about 8 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #12

Updated by Gerrit Code Review about 8 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50301

Actions #13

Updated by Tomita Militaru about 8 years ago

  • Status changed from Under Review to Resolved
Actions #14

Updated by Riccardo De Contardi about 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF