[TYPO3-commerce] Backend: Display of Articles broken
Franz Steinmetz
franzlst at yahoo.de
Sun Mar 15 18:07:51 CET 2009
Hi,
I use commerce 0.11.7 and dynaflex 1.11.0. When I want to edit an article in the Backend (either via clicking on the article in the tree or clicking the pencil of the article in the product view) an error occurs:
Fatal error: Cannot unset string offsets in *******/typo3conf/ext/dynaflex/class.dynaflex.php on line 1094
Nothing more is displayed in this frame. The corresponding line in the file is:
/**
* Removes an element from a flexform structure.
*
* @param array $funcConf: configuration array for a single configuration
* @return void
*/
function remove($funcConf = array()) {
// build path
$path = $this->getPath($funcConf['inside']);
// get the Data
$workData = $this->getDataByPath($this->flexData, $path);
// remove the element
==> unset($workData[$funcConf['element']]);
// Write back the modified data
$this->setDataByPath($this->flexData, $path, $workData);
}
Commenting the line another error appears:
Fatal error: Cannot create references to/from string offsets nor overloaded objects in ******/typo3conf/ext/dynaflex/class.dynaflex.php on line 280
Commenting this one gets:
Fatal error: Cannot use string offset as an array in ******/typo3conf/ext/commerce/tcafiles/tx_commerce_articles.tca.php on line 440
The code here is:
$TCA['tx_commerce_article_prices'] = Array (
==> 'ctrl' => $TCA['tx_commerce_article_prices']['ctrl'],
I can't see what shell be wrong here.
I hope you can help me.
Greets
Franz Steinmetz
franzlst at yahoo.de
http://www.roboshow.de
http://www.jsg-abi2008.de
http://www.kalender.jsg-abi2008.de
More information about the TYPO3-project-commerce
mailing list