Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

3.4.4 / 3.4.5 Bug sorting custom navigation #7785

Closed
tim-bec opened this issue Apr 28, 2015 · 3 comments
Closed

3.4.4 / 3.4.5 Bug sorting custom navigation #7785

tim-bec opened this issue Apr 28, 2015 · 3 comments
Assignees
Labels
Milestone

Comments

@tim-bec
Copy link

tim-bec commented Apr 28, 2015

we have noticed a bug in the custom navigation modul in the sorting / unpack

How can you reproduce this in the online demo?

  • Login
  • Make sure error message are displayed
  • Create a custom navigation module
  • Select some pages
  • save module
  • show details of module

How does the error effect the user?

In our case this error seems to result in an internal server error / fatal out of memory in the frontend.

Error Backend

( Take a look at the sorting: , , , )

screenshot 2015-04-29 01 05 47

Stacktrace

Warning: unpack() [function.unpack]: Type H: not enough input, need 4, have 2 in system/modules/core/library/Contao/String.php on line 557
#0 [internal function]: __error(2, 'unpack() [show()
#4 system/modules/core/controllers/BackendMain.php(126): Contao\Backend->getBackendModule('themes')
#5 contao/main.php(20): Contao\BackendMain->run()
#6 {main}

Warning: implode() [function.implode]: Invalid arguments passed in system/modules/core/library/Contao/String.php on line 557
#0 [internal function]: __error(2, 'implode() [show()
#4 system/modules/core/controllers/BackendMain.php(126): Contao\Backend->getBackendModule('themes')
#5 contao/main.php(20): Contao\BackendMain->run()
#6 {main}

Warning: unpack() [function.unpack]: Type H: not enough input, need 4, have 2 in system/modules/core/library/Contao/String.php on line 557
#0 [internal function]: __error(2, 'unpack() [show()
#4 system/modules/core/controllers/BackendMain.php(126): Contao\Backend->getBackendModule('themes')
#5 contao/main.php(20): Contao\BackendMain->run()
#6 {main}

Warning: implode() [function.implode]: Invalid arguments passed in system/modules/core/library/Contao/String.php on line 557
#0 [internal function]: __error(2, 'implode() [show()
#4 system/modules/core/controllers/BackendMain.php(126): Contao\Backend->getBackendModule('themes')
#5 contao/main.php(20): Contao\BackendMain->run()
#6 {main}

Warning: unpack() [function.unpack]: Type H: not enough input, need 4, have 1 in system/modules/core/library/Contao/String.php on line 557
#0 [internal function]: __error(2, 'unpack() [show()
#4 system/modules/core/controllers/BackendMain.php(126): Contao\Backend->getBackendModule('themes')
#5 contao/main.php(20): Contao\BackendMain->run()
#6 {main}

Warning: implode() [function.implode]: Invalid arguments passed in system/modules/core/library/Contao/String.php on line 557
#0 [internal function]: __error(2, 'implode() [show()
#4 system/modules/core/controllers/BackendMain.php(126): Contao\Backend->getBackendModule('themes')
#5 contao/main.php(20): Contao\BackendMain->run()
#6 {main}

Warning: Cannot modify header information - headers already sent by (output started at /home/www/demo/system/helper/functions.php:68) in system/modules/core/library/Contao/Template.php on line 255
#0 [internal function]: __error(2, 'Cannot modify h...', '...', 255, Array)
#1 system/modules/core/library/Contao/Template.php(255): header('Vary: User-Agen...', false)
#2 system/modules/core/classes/BackendTemplate.php(113): Contao\Template->output()
#3 system/modules/core/controllers/BackendMain.php(268): Contao\BackendTemplate->output()
#4 system/modules/core/controllers/BackendMain.php(130): Contao\BackendMain->output()
#5 contao/main.php(20): Contao\BackendMain->run()
#6 {main}

Warning: Cannot modify header information - headers already sent by (output started at /home/www/demo/system/helper/functions.php:68) in system/modules/core/library/Contao/Template.php on line 256
#0 [internal function]: __error(2, 'Cannot modify h...', '...', 256, Array)
#1 system/modules/core/library/Contao/Template.php(256): header('Content-Type: t...')
#2 system/modules/core/classes/BackendTemplate.php(113): Contao\Template->output()
#3 system/modules/core/controllers/BackendMain.php(268): Contao\BackendTemplate->output()
#4 system/modules/core/controllers/BackendMain.php(130): Contao\BackendMain->output()
#5 contao/main.php(20): Contao\BackendMain->run()
#6 {main}
@leofeyer
Copy link
Member

Fixed in 718910d.

@leofeyer leofeyer added this to the 3.5.0 milestone Apr 30, 2015
@leofeyer leofeyer self-assigned this Apr 30, 2015
@tim-bec
Copy link
Author

tim-bec commented Apr 30, 2015

thanks for the fast fix! does this fix also occur in 3.4.x ?

@leofeyer
Copy link
Member

There won't be another version 3.4 release. Contao 3.5 is coming next month.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants