Cannot access Panel after login

Hi all, I can’t access the panel, when I try to access my site, the following error message displays AFTER login:

The JSON response of the API could not be parsed:
{“status”:“ok”,“code”:200,“name”:“listed”,“type”:“pages”,“data”:[{“id”:“results”,“dragText”:“(link: results text: Results)”,“text”:“Results”,“info”:“results”,“parent”:null,“icon”:{“type”:“page”,“ratio”:“3/2”,“back”:“pattern”,“color”:“#c5c9c6”,“cover”:false},“image”:{“ratio”:“3/2”,“back”:“pattern”,“cover”:false},“link”:“/pages/results”,“status”:“listed”,“permissions”:{“sort”:true,“changeSlug”:true,“changeStatus”:true,“changeTitle”:true}},{“id”:“reports”,“dragText”:“(link: reports text: Reports)”,“text”:“Reports”,“info”:“reports”,“parent”:null,“icon”:{“type”:“page”,“ratio”:“3/2”,“back”:“pattern”,“color”:“#c5c9c6”,“cover”:false},“image”:{“ratio”:“3/2”,“back”:“pattern”,“cover”:false},“link”:“/pages/reports”,“status”:“listed”,“permissions”:{“sort”:true,“changeSlug”:true,“changeStatus”:true,“changeTitle”:true}},{“id”:“stats”,“dragText”:“(link: stats text: All Time Stats)”,“text”:“All Time Stats”,“info”:“stats”,“parent”:null,“icon”:{“type”:“page”,“ratio”:“3/2”,“back”:“pattern”,“color”:“#c5c9c6”,“cover”:false},“image”:{“ratio”:“3/2”,“back”:“pattern”,“cover”:false},“link”:“/pages/stats”,“status”:“listed”,“permissions”:{“sort”:true,“changeSlug”:true,“changeStatus”:true,“changeTitle”:true}}],“errors”:,“options”:{“add”:false,“empty”:null,“headline”:“Published”,“help”:null,“layout”:“list”,“link”:null,“max”:null,“min”:null,“size”:“auto”,“sortable”:true},“pagination”:{“limit”:20,“offset”:0,“page”:1,“total”:3}}{“status”:“error”,“code”:32,“details”:null,“message”:“An unexpected error occurred! Enable debug mode for more info: https://getkirby.com/docs/reference/system/options/debug”}

Have activated debug mode on the site, but doesn’t display on my browser.

Any way to resolve? Not very experienced coder, any help much appreciated.

Thanks,

JR

Could you check your php error log?

Where might I find the php error log?

I’ve tried to put the site into debug mode, but it hasn’t worked on my browser?

I was able to activate debug mode by removing the panel install from the config file. Debug displayed the following:

Hm, that is a PHP startup error. According to the message PHP is trying to load a library that doesn’t exist (and one, that belongs to PHP 7.3 which is not supported anymore by Kirby).

  • Please check that you have at least PHP 7.4 running on your server (ideally, use 8+)
  • If PHP 7.4 is running, then check if you php.ini contains any reference to monarxprotect-php73.so

SOLVED!

Thanks so much for your help, absolute lifesaver.

Just changed over php version with my hosting server.