The links created with fof/links don't work any more. They lead to a blank forever loading page.
After I've deleted the pages in /admin#/extension/fof-pages
I get this:
Error message and forever spinning loading symbol.
If I disable pages extension and purge, then I can access that page, but get an error when trying to save a page:
Page gets included in sitemap.xml, but is blank when trying to access.
I have not installed any other extensions lately, but I often update them to latest version.
I did update Composer from 2.4.2 to 2.5.2 (latest) with php composer self-update
but have tried to rollback to previous version without solving the issue with composer self-update --rollback
Other things I have done:
Disabled glowingblue/redis-setup
Disabled cloudflare
composer update --prefer-dist --no-dev -a --with-all-dependencies
php flarum migrate && php flarum cache:clear
php flarum assets:publish
and
composer diagnose
curl -sS https://getcomposer.org/installer | php -- --check
Downgraded fof/pages to 1.0.3 from 1.0.4 since I did not find a changelog and thought it perhaps was a silent update?
Tried several browsers.
php flarum info
Gives me
Flarum core 1.6.3
PHP version: 8.1.15
MySQL version: 8.0.32-0ubuntu0.22.04.2
Loaded extensions: Core, date, libxml, openssl, pcre, zlib, filter, hash, json, pcntl, Reflection, SPL, session, standard, sodium, memcached, redis, imagick, my sqlnd, PDO, xml, bcmath, calendar, ctype, curl, dom, mbstring, FFI, fileinfo, ft p, gd, gettext, gmp, iconv, imap, intl, exif, mysqli, pdo_mysql, pdo_sqlite, Pha r, posix, readline, shmop, SimpleXML, soap, sockets, sqlite3, sysvmsg, sysvsem, sysvshm, tokenizer, xmlreader, xmlwriter, xsl, zip, Zend OPcache
+----------------------------------------+--------------+--------+
| Flarum Extensions | | |
+----------------------------------------+--------------+--------+
| ID | Version | Commit |
+----------------------------------------+--------------+--------+
| flarum-markdown | v1.6.1 | |
| flarum-flags | v1.6.1 | |
| askvortsov-rich-text | v2.1.7 | |
| flarum-tags | v1.6.1 | |
| flarum-lock | v1.6.1 | |
| fof-formatting | 1.0.2 | |
| afrux-forum-widgets-core | v0.1.7 | |
| flarum-suspend | v1.6.1 | |
| fof-pages | 1.0.3 | |
| flarum-approval | v1.6.1 | |
| zerosonesfun-direct-links | 3.1 | |
| yannisme-oxotheme | 2.1.5 | |
| v17development-user-badges | v1.1.0 | |
| v17development-seo | v1.8.0 | |
| v17development-blog | v0.6.4 | |
| the-turk-flamoji | 1.0.4 | |
| sycho-profile-cover | v1.3.3 | |
| sycho-lite-youtube | v0.1.1 | |
| malago-achievements | 0.5.5 | |
| justoverclock-welcomebox | 1.3.8 | |
| justoverclock-feedback | 0.1.9 | |
| justoverclock-contactme | 0.2.3 | |
| ianm-synopsis | 1.2.2 | |
| ianm-same-page-admin | 0.1.0 | |
| fof-webhooks | 1.1.1 | |
| fof-upload | 1.3.0-beta.1 | |
| fof-terms | 1.2.0 | |
| fof-split | 1.1.0 | |
| fof-spamblock | 1.1.0 | |
| fof-sitemap | 2.0.1 | |
| fof-reactions | 1.1.3 | |
| fof-profile-image-crop | 1.1.1 | |
| fof-polls | 1.3.0 | |
| fof-oauth | 1.3.0 | |
| fof-merge-discussions | 1.3.1 | |
| fof-masquerade | 2.1.3 | |
| fof-links | 1.1.3 | |
| fof-linguist | 1.1.0 | |
| fof-ignore-users | 1.1.0 | |
| fof-html-errors | 1.1.0 | |
| fof-forum-statistics-widget | 1.0.2 | |
| fof-drafts | 1.2.2 | |
| fof-custom-footer | 1.1.0 | |
| fof-best-answer | 1.2.4 | |
| fof-ban-ips | 1.0.3 | |
| fof-analytics | 1.1.0 | |
| flarum-sticky | v1.6.1 | |
| flarum-statistics | v1.6.1 | |
| flarum-mentions | v1.6.3 | |
| flarum-lang-swedish | 1.1.1 | |
| flarum-lang-english | v1.6.0 | |
| flarum-emoji | v1.6.1 | |
| extiverse-mercury | 0.2.0 | |
| davwheat-session-keepalive | 1.1.0 | |
| datlechin-title-length | v0.1.1 | |
| club-1-cross-references | v0.6.0 | |
| clarkwinkelmann-see-past-first-post | 1.3.1 | |
| clarkwinkelmann-no-email-notifications | 1.0.0 | |
| clarkwinkelmann-formatted-banner | 1.0.0 | |
| blomstra-turnstile | 0.1.2 | |
| blomstra-spam-prevention | 1.3 | |
| blomstra-fontawesome | 0.1.5 | |
| askvortsov-pwa | v3.1.3 | |
| askvortsov-moderator-warnings | v0.6.1 | |
| askvortsov-markdown-tables | v1.2.1 | |
| askvortsov-checklist | v1.3.1 | |
| askvortsov-categories | v3.0.6 | |
| acpl-mobile-tab | 1.1.1 | |
+----------------------------------------+--------------+--------+
Base URL: https://forumname.se
Installation path: /home/forumname/htdocs/forumname.se
Queue driver: sync
Session driver: file
Mail driver: smtp
Debug mode: off
Anyone able to suggest how I can get this working again?
Edit:
Checked error log for PHP-FPM and found these:
[08-Feb-2023 16:37:02 UTC] PHP Warning: Attempt to read property "attributes" on null in /home/forumname/htdocs/forumname.se/storage/views/1591af7895da5822a95bffef98e7ddbd99ab920f.php on line 1
[08-Feb-2023 16:37:02 UTC] PHP Warning: Attempt to read property "title" on null in /home/forumname/htdocs/forumname.se/storage/views/1591af7895da5822a95bffef98e7ddbd99ab920f.php on line 4
[08-Feb-2023 16:37:02 UTC] PHP Warning: Attempt to read property "contentHtml" on null in /home/forumname/htdocs/forumname.se/storage/views/1591af7895da5822a95bffef98e7ddbd99ab920f.php on line 7
[08-Feb-2023 16:40:00 UTC] PHP Warning: Undefined property: stdClass::$data in /home/forumname/htdocs/forumname.se/vendor/fof/pages/src/Content/Page.php on line 61
[08-Feb-2023 16:40:00 UTC] PHP Warning: Attempt to read property "attributes" on null in /home/forumname/htdocs/forumname.se/vendor/fof/pages/src/Content/Page.php on line 61
[08-Feb-2023 16:40:00 UTC] PHP Warning: Attempt to read property "title" on null in /home/forumname/htdocs/forumname.se/vendor/fof/pages/src/Content/Page.php on line 61
[08-Feb-2023 16:40:00 UTC] PHP Warning: Undefined property: stdClass::$data in /home/forumname/htdocs/forumname.se/storage/views/1591af7895da5822a95bffef98e7ddbd99ab920f.php on line 1
[08-Feb-2023 16:40:00 UTC] PHP Warning: Attempt to read property "attributes" on null in /home/forumname/htdocs/forumname.se/storage/views/1591af7895da5822a95bffef98e7ddbd99ab920f.php on line 1
[08-Feb-2023 16:40:00 UTC] PHP Warning: Attempt to read property "title" on null in /home/forumname/htdocs/forumname.se/storage/views/1591af7895da5822a95bffef98e7ddbd99ab920f.php on line 4
[08-Feb-2023 16:40:00 UTC] PHP Warning: Attempt to read property "contentHtml" on null in /home/forumname/htdocs/forumname.se/storage/views/1591af7895da5822a95bffef98e7ddbd99ab920f.php on line 7
Edit again,
I think I messed things up. Ran root when updating composer, so I think permissions got mixed up.
If that is the case, I don't know how to fix it :/