getgrav / grav-plugin-admin

Grav Admin Plugin
http://getgrav.org
MIT License
355 stars 223 forks source link

/admin/pages not loading #2318

Open tonyofbyteball opened 1 year ago

tonyofbyteball commented 1 year ago

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?

mdestafadilah commented 1 year ago

have you done with clear cache in terminal?

php bin\grav cache
tonyofbyteball commented 1 year ago

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

mdestafadilah commented 1 year ago

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

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

tonyofbyteball commented 1 year ago

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

jgonyea commented 1 year ago

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

tonyofbyteball commented 1 year ago

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

jgonyea commented 1 year ago

What plugins are installed/ enabled?

tonyofbyteball commented 1 year ago

Here is the list:

image
jgonyea commented 1 year ago

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 commented 1 year ago

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.

tonyofbyteball commented 1 year ago

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

rhukster commented 1 year ago

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.

tonyofbyteball commented 1 year ago

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

image
tonyofbyteball commented 1 year ago

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.

mdestafadilah commented 1 year ago

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?

tonyofbyteball commented 1 year ago

are you using VPN for browsing?

No

tonyofbyteball commented 1 year ago

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

image