Support » Plugin: Menu Item Visibility Control » Parse Error :

  • Hello,
    Im getting suddenly this error (only on customizer)

    2020/10/20 15:12:02 [error] 4114#4114: *948 FastCGI sent in stderr: "PHP message: PHP Parse error: syntax error, unexpected ':' in /www/ecomaltoweb_104/public/wp-content/plugins/menu-items-visibility-control/init.php(81) : eval()'d code on line 1" while reading response header from upstream, client: 190.55.27.78, server: staging-ecomaltoweb.kinsta.cloud, request: "GET /?customize_changeset_uuid=aea995e8-c660-4487-9a1c-767d1d234b3a&customize_theme=ee-child&customize_messenger_channel=preview-3 HTTP/1.0", upstream: "fastcgi://unix:/var/run/php7.4-fpm-ecomaltoweb.sock:", host: "ee.staging-ecomaltoweb.kinsta.cloud", referrer: "http://ee.staging-ecomaltoweb.kinsta.cloud/wp-admin/customize.php?url=http%3A%2F%2Fee.staging-ecomaltoweb.kinsta.cloud%2F"

    this are the conditions:

    (in_array('mayoristas', $GLOBALS['current_user']->roles) || in_array('locales', $GLOBALS['current_user']->roles) || in_array('franquicias', $GLOBALS['current_user']->roles) || in_array('lista5', $GLOBALS['current_user']->roles) || in_array('lista6', $GLOBALS['current_user']->roles))

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.