• Priority: 0
  • Status: Closed
  • Theme: Alysum
  • Assigned To: Marek
  • Private: No
  • Open Date: 17.08.18, 20:11
  • Opened by: danilo
  • Closed by: Marek
  • Closed on: 26.09.18, 21:07
  • Reason: Closed
  • Comment: Glad to help!

Ticket #12731 - problem with menu

Hi,
I’m trying to modify the menu list with other pages, but it shows me problem like in the attached file
The time before it runs, but now I can’t

Thanks!

Comments

danilo 19 Aug 2018, 10:08

I read it, but I can’t find the php.ini where i have to paste that line

Marek 19 Aug 2018, 22:35

You can try to add the line:

ini_set('pcre.backtrack_limit', -1);

directly to the construct() function in the file

/modules/pk_themesettings/pk_themesettings.php

it should be like this:

public function __construct() {
    ini_set('pcre.backtrack_limit', -1);
    $this->displayName = 'Theme Settings';
... 
danilo 24 Aug 2018, 10:31

I tried but it doesn’t works :/ Is there any other solution?

Marek 28 Aug 2018, 14:03

Hi, danilo.
Sorry for the delay.
I mislead you, the file is /demo/modules/pk_menu/pk_menu.php
I already add that line, and now it works

danilo 26 Sep 2018, 20:45

Thanks!!!