grav-plugin-admin icon indicating copy to clipboard operation
grav-plugin-admin copied to clipboard

/admin/pages not loading

Open tonyofbyteball opened this issue 2 years ago • 17 comments

After upgrading the admin plugin v1.9.12 -> v1.10.36 /admin/pages doesn't load any more

image

The site works fine and all other admin pages seem to work fine as well.

Clearing the cache folder doesn't help.

If I go directly to a URL like /admin/pages/home, it opens fine. The issue seems to be limited to loading the list of pages only.

Any tips what I should check or try?

tonyofbyteball avatar Sep 21 '22 17:09 tonyofbyteball

have you done with clear cache in terminal?

php bin\grav cache

mdestafadilah avatar Oct 06 '22 07:10 mdestafadilah

Just tried this command, it didn't help :(

tonyofbyteball avatar Oct 06 '22 07:10 tonyofbyteball

Just tried this command, it didn't help :(

clear your browser cache too,, and testing with some browser please.

mdestafadilah avatar Oct 06 '22 21:10 mdestafadilah

Did that, even tried in incognito window, no luck..

tonyofbyteball avatar Oct 06 '22 21:10 tonyofbyteball

Does renaming your pages directory to pages-old and recreating a new pages directory fix the issue?

jgonyea avatar Oct 08 '22 23:10 jgonyea

No, it doesn't :( The same infinite loader as on the screenshot in my first message.

tonyofbyteball avatar Oct 09 '22 09:10 tonyofbyteball

What plugins are installed/ enabled?

jgonyea avatar Oct 11 '22 15:10 jgonyea

Here is the list:

image

tonyofbyteball avatar Oct 11 '22 15:10 tonyofbyteball

No, it doesn't :( The same infinite loader as on the screenshot in my first message.

I just installed the latest versions of your plugins, and I can enumerate the pages overview just fine. Do you have a custom theme enabled? I'm just on quark right now.

jgonyea avatar Oct 11 '22 16:10 jgonyea

If push comes to shove, you can try to backup, reinstall grav and replace your user folder, which is essentially what I just did on my side to mimic your site.

jgonyea avatar Oct 11 '22 16:10 jgonyea

We do use a custom theme (not sure how it could affect the admin plugin though), the whole project is open source https://github.com/obyteorg/new-obyteorg

tonyofbyteball avatar Oct 11 '22 16:10 tonyofbyteball

just install another theme (like quark) and set that to your active theme, and see if things load. If they do, then yes your theme (and most likely it's blueprints) are the issue.

rhukster avatar Oct 11 '22 17:10 rhukster

I switched to Quark but the issue didn't go away (I did clear the cache)

image

tonyofbyteball avatar Oct 11 '22 20:10 tonyofbyteball

Just in case it matters, I see the following errors in the console when I try to open this page:

image

The second error ($toastElement) is also on all other admin pages.

tonyofbyteball avatar Oct 11 '22 20:10 tonyofbyteball

Just in case it matters, I see the following errors in the console when I try to open this page:

image

The second error ($toastElement) is also on all other admin pages.

are you using VPN for browsing?

mdestafadilah avatar Oct 12 '22 09:10 mdestafadilah

are you using VPN for browsing?

No

tonyofbyteball avatar Oct 12 '22 14:10 tonyofbyteball

I tried to disable the Problems plugin but the problem didn't go away

image

tonyofbyteball avatar Oct 15 '22 08:10 tonyofbyteball