bootstrap_package icon indicating copy to clipboard operation
bootstrap_package copied to clipboard

Exception #1407060572 after Updating bootstrap_package from 11.0.3 to 12.0.1

Open Typine3 opened this issue 2 years ago • 9 comments

Bug Report

Prerequisites

Typo3 10.4.20

Description

While with version 11.0.3 everything went fine, after updating to 12.0.1 today I get two different errors in a two column design: In the left column I get Exception #1407060572 when clicking on the headline of a news list view trying to see the detail view. In the right column with a click on the news headline I don't get an exception, but the layout of the detail view page is destroyed/changed.

Expected behavior

It should work like in version 11.0.3!

Actual behavior

see Description

I downgraded now to 11.0.3 and hope for a solution!

Typine3 avatar Sep 17 '21 06:09 Typine3

It looks like you have a typo somewhere in your view helper usage.

See: https://github.com/TYPO3-Documentation/TYPO3CMS-Exceptions/blob/master/Documentation/Exceptions/1407060572.rst Can you please check which view helper cannot be found?

benjaminkott avatar Sep 17 '21 07:09 benjaminkott

I upgraded again to 12.0.1, flushed all caches and now even the start page produces an error:

(1/2) #1407060572 TYPO3Fluid\Fluid\Core\Parser\Exception

Fluid parse error in template partial_Media/Rendering/Image_1793a28e9b45daa6b8021a689fc52d9f1d889df2, line 27 at character 9. Error: The ViewHelper "bk2k:lastImageInfo" could not be resolved. Based on your spelling, the system would load the class "BK2K\BootstrapPackage\ViewHelpers\LastImageInfoViewHelper", however this class does not exist. (error code 1407060572). Template source chunk: {file.properties.alternative}

Typine3 avatar Sep 17 '21 07:09 Typine3

There we have it. bk2k:lastImageInfo was dropped, because TYPO3 changed behavior with v11.

See update examples: https://github.com/benjaminkott/bootstrap_package/commit/34a9680b8fc1c9df9dc5e0531917f383a85b4583#diff-e1bad28cafddfab1c01b45f23ab330f891a3d9e5c71ceaee572106bb1502461f

It´s probably within your news templates.

benjaminkott avatar Sep 17 '21 08:09 benjaminkott

oh thanks. I'll try to find the location of this problem and report it!

Typine3 avatar Sep 17 '21 09:09 Typine3

I changed Image.html: Image_html_img There's no error any more. But now my two-column design is optically devastated. Columns are much too narrow. There must be something wrong with the css or html Template - but why? Thanks for an idea! Layout_kaputt

Typine3 avatar Sep 20 '21 06:09 Typine3

I had a more intense glance at it. There are differences in the html templates. How can I deal with that? This is start page with bootstrap_package 11.0.3 (where "zum Hauptinhalt springen" is invisible): html_Startseite_bootstrap_1103 This is start page with bootstrap_package 12.0.1 (in frontend looking like you see in my post before; "Zum Hauptinhalt springen" is visible): html_Startseite_bootstrap_1201 Thanks for a hint!

Typine3 avatar Sep 20 '21 09:09 Typine3

This is still happening in Version 12.0.2 which I just updated to.

Typine3 avatar Sep 20 '21 09:09 Typine3

Did I oversee an update comment? Usually you get a hint when updating an extension and there are measures to take before updating - as in this case is necessary! I can't remember there was any hint? Concerning the layout problem / altered html files - where can I find information about that?

Typine3 avatar Sep 21 '21 06:09 Typine3

I update it and got online "Access denied", page down. I don't know how to fall back. I backup ones before the wrong vm. 5 Days lost, my luck is, I haven't done a lot on this vm this week. Where I find the error messages? How I detect where is the segmentation fault? Is there a start log or something alike?

Fehndruid avatar Oct 08 '21 19:10 Fehndruid