Project

General

Profile

Actions

Bug #75795

closed

#1237823695: Argument "addCssFile" was not registered.

Added by Simon Köhler almost 8 years ago. Updated almost 8 years ago.

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

0%

Estimated time:
TYPO3 Version:
7
PHP Version:
5.6
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

After upgrading to TYPO3 7.6.5 LTS, my own extension backend module shows the error:

#1237823695: Argument "addCssFile" was not registered.

In the documentation, the argument is written, so I wonder why this is not working anymore?
https://docs.typo3.org/typo3cms/ExtbaseGuide/Fluid/ViewHelper/Be/Container.html

Cleared all caches of course several times.

Solved this problem now with using „includeCssFiles", but it's not the best solution anyway...

Actions #1

Updated by Wouter Wolters almost 8 years ago

  • Status changed from New to Closed

That method is deprecated since 6.2 ("Usage of addCssFile attribute is deprecated since TYPO3 CMS 6.2. It will be removed in TYPO3 CMS 7.0. Use includeCssFiles instead.")

And has therefor been removed in 7. includeCssFiles is thus the correct option to use here.

Actions

Also available in: Atom PDF