PrestaShop / PrestaShop

PrestaShop is the universal open-source software platform to build your e-commerce solution.
https://www.prestashop-project.org/
Other
8.23k stars 4.81k forks source link

Undefined array key tabs_simplify #34791

Closed musicpanda closed 11 months ago

musicpanda commented 11 months ago

Prerequisites

Describe the bug and add attachments

Two people on the forum report the same problem. Their backoffice crashes with the error: _Warning Undefined array key tabssimplify

The error happens during a "getLegacyLayout" function call in a Twig file.

The error is puzzling as the word "tabs_simplify" is not present in the Prestashop code.

The forum posts are: https://www.prestashop.com/forums/topic/1082345-probl%C3%A8me-prestashop-81-warning-undefined-array-key-tabs_simplify/ and https://www.prestashop.com/forums/topic/1082642-oops-please-correct-the-items-below-and-then-click-refresh-information-to-test-the-compatibility-of-your-new-system/?do=findComment&comment=3468757

Expected behavior

correct running of backoffice

Steps to reproduce

Open backoffice

PrestaShop version(s) where the bug happened

8.0 and 8.1

PHP version(s) where the bug happened

8.1

If your bug is related to a module, specify its name and its version

No response

Your company or customer's name goes here (if applicable).

No response

paulnoelcholot commented 11 months ago

Hello @musicpanda,

Thanks for reporting this issue! Ping @PrestaShop/prestashop-core-developers : Could someone please try to reproduce the issue, it's too technical!

Thanks in advance!

kpodemski commented 11 months ago

The issue is probably related to the pseditionbasic module, not the core itself.

amine-O commented 11 months ago

Hello @musicpanda we fixed this issue in 8.1.2 version of Prestashop Classic, could you please retry it with this version and tell us if it's ok ?

musicpanda commented 11 months ago

I can't immediately test it. But I trust that it has been fixed and will close the issue.