Indexhibit / indexhibit

An archetypal portfolio cms for everybody.
305 stars 58 forks source link

Can't troubleshoot this lib/chache.php issue #40

Open niguloto opened 7 months ago

niguloto commented 7 months ago

Hello everyone,

can't find any info on this issue neither here or on indexhibit forum, can you help? If you load my website forabetterignorance.com you'll see these error messages popping up, pointing to line 71 of cache.php file. Apparently is a line of code that should check if the user is viewing site from a mobile device...any idea ion what's going on? I'm no web engineer :~/

here's the messages I see: Warning: Attempt to read property "vars" on null in /home/public/ndxzstudio/lib/cache.php on line 71 Warning: Attempt to read property "default" on null in /home/public/ndxzstudio/lib/cache.php on line 71 Warning: Trying to access array offset on value of type null in /home/public/ndxzstudio/lib/cache.php on line 71

best, Nicolò

thumbpiano commented 2 months ago

Got a similar cache error but at a different location after upgrading from 2.0.x to v2.1.6.

Try creating a folder at /ndxzstudio/lib/

In my case, the cache error went away after creating a folder here: /ndxzsite/cache