CoreCommunity ExtensionsIncubatorDistributionsTYPO3 4.5 ProjectsTYPO3 4.6 ProjectsTYPO3 4.7 ProjectsTYPO3 6.0 ProjectsTYPO3 6.1 ProjectsTYPO3 6.2 Projects (+)

Bug #39694

Fatal error: Call to a member function addItem()

Added by Gregor Arz 10 months ago. Updated 9 months ago.

Status:Resolved Start date:2012-08-10
Priority:Must have Due date:
Assignee:Gregor Arz % Done:

0%

Category:- Spent time: -
Target version:-
Votes: 0

Description

I am using TYPO3 Version 4.6.7 with the following Extensions:
- Extbase 1.4.3
- Fluid 1.4.1
- sav_library_kickstarter 0.2.1
- sav_library_plus 0.0.3

Whenever I want to create an entry for an existing table I get the following error message within the SAV Library Plus Kickstarter:

Fatal error: Call to a member function addItem() on a non-object in .../typo3conf/ext/sav_library_kickstarter/Classes/Controller/KickstarterController.php on line 211

History

Updated by Laurent Foulloy 10 months ago

  • Status changed from New to Needs Feedback

It seems to be the same bug as #39403 which is resolved. Have you downloaded the latest revision from the forge ?

Updated by Gregor Arz 9 months ago

Updated the latest trunk from forge. Still the same problem when trying to add an existing table in the kickstarter.
I also recognise an Error when trying to adding a blank new table. I get the following error message:
PHP Warning: Invalid argument supplied for foreach() in ...typo3conf/ext/sav_library_kickstarter/Classes/Controller/KickstarterController.php line 275
This seems to be the related bug: #39697

OK, I will update my used TYPO3 version from 4.6.7 to 4.7.2. and let you know if this somehow solved the problem.

Updated by Laurent Foulloy 9 months ago

I cannot reproduce this bug. Can you describe how you have proceeded or send me the t3x of your extension ?

Thanks in advance.

Updated by FW 9 months ago

By creating a new extension I had the same problem. After copy an example-Extension the problem did not exist any more (working with Typo3 Version 4.7.3). Anyway sav_library_kickstarter and sav_library_plus is a great work. Thank you very much!!

Updated by Laurent Foulloy 9 months ago

Do you mean that it occurs when starting with the kickstarter with no extension at all ?

Updated by FW 9 months ago

By using the SAV_Kickstarter module I get a list with all the created Extensios with the Kickstarter. When I start to create a new Extension, using the +(plus) at the first head-row on the right side, so with this Extension I'm not able to open tables, using the +(plus) of Existing tables.
But everthing works fine, when I copy your Extension sav_library_example2 (deleting the example-tables before creating the new Extension).

With the Extension-Example sav_library_example0 exists the same problem. Here I'm also not able to open tables, using the +(plus) of Existing tables.

So I have this problem when ever I start a totaly new Extension. I use for a testing Xampp for windows with apache. Typo3.4.71 with fluid and extbase installed.

Updated by Laurent Foulloy 9 months ago

I can reproduce the error with the current TER version of the SAV Library Kickstarter (i.e. sav_library_kickstarter 0.2.1) but it seems to be the same bug as #39403 which is resolved.
Have you this error with the latest revision of the SAV Library Kickstarter in the trunk of this forge ?

Updated by FW 9 months ago

Sorry, I just use the latest version form typo3.org (sav_library_kickstarter 0.2.1) because I'm not used in working with forge.typo3.org. So the problem is solved.

Updated by FW 9 months ago

Now I have latest version (2012-08-23) form forge. The old problem when opening an existing table is solved. However, when I created a new table or an existing table fields should be added, after saving and generating the table, only a blank page shows up.
However, this is not a real problem. With the extension manager, the database can be updated and the tables and additional fields are created.
I have compared this situation with the typo3.org version 0.2.1. The Update and creation of the new tables and fields can be done directly with the Typo3.org (version 0.2.1). I use Typo3.4.7.1.

Updated by Laurent Foulloy 9 months ago

Please download the new file FlashHtmlMessagesViewHelper.php at revision: 65572

Updated by Laurent Foulloy 9 months ago

  • Status changed from Needs Feedback to Resolved

Also available in: Atom PDF