• Hello,
    I’m using Cloudflare workers to map https://upgiant.com/blog/ to different server than https://upgiant.com/. With fresh installation on frontside everything works fine on TwentyTwentyOne theme, however when I log in into dashboard, the styles are not loaded and console is full of errors: every script that uses jquery claims that it is not defined.
    Disabling of Concatenate scripts option in wp-config doesn’t help.

    What can be a reason of such error in fresh installation? Same installation works well on localhost. I think it might be connected with worker DNS mapping, but why then other scripts work well?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello, there might be some htaccess restrictions or some script restrictions for Admin dashboard. You may also check the console log for the error code and debug it further.

    Thread Starter mslabinoha

    (@mslabinoha)

    There can’t be any resttictions on dashboard since it is fresh installation moved from localhost where it worked.
    On htaccess: here is my file (considering that website is in subdirectory).

    `<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteRule .* – [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
    RewriteBase /blog/
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /blog/index.php [L]
    </IfModule>

    In console, there is nothing except many “jQuery is not defined” from other scripts. All scripts are delivered with 200 OK status

    Kindly try to deactivate the plugins you are using one by one with TwentyTwentyOne theme and check it once.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘jQuery is not defined in Dashboard’ is closed to new replies.