[Support request] Undefined variable: slug

Home Forums Support [Support request] Undefined variable: slug

Home Forums Support Undefined variable: slug

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1579881
    Maritza

    I’m trying to install one of the premium themes, called Dispatch. I keep getting a 400 error [?]. After many attempts and setting up the -wp-config.php to be able to get a log file with

    define( ‘WP_DEBUG’, true );
    define( ‘WP_DEBUG_LOG’, true );

    I got a PHP error saying:

    [14-Dec-2020 14:09:44 UTC] PHP Notice: Undefined variable: slug in /home/mindsour/staging/4/wp-content/plugins/official-add-to-homescreen/includes/public.php on line 29

    I don’t see anything about that slog in the Support documentation. Can you advise?

    #1579906
    David
    Staff
    Customer Support

    Hi there,

    When importing a Site from a library you should ensure any Plugin or Server caches are disabled. We also recommend you disable any other plugins, as that error is specifically pointing the Official Add to Home Screen plugin (?) – i would try disabling that as a priority.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.