Site logo

Archived topic

Undefined variable: slug

1 reply · Started by Maritza on December 14, 2020

Viewing posts 1–2 of 2

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?

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.

This archived topic is closed to new replies.