Giter VIP home page Giter VIP logo

Comments (4)

adam42a avatar adam42a commented on June 3, 2024

Hi Clark, here's the offending host's info:

carbonc@webarch7:~/sites/flarum$ php flarum info
Flarum core 1.2.1
PHP version: 7.4.30
MySQL version: 5.5.5-10.5.15-MariaDB-0+deb11u1
Loaded extensions: Core, date, libxml, openssl, pcre, zlib, filter, hash, pcntl, Reflection, SPL, session, standard, sodium, mysqlnd, PDO, xml, apcu, bcmath, bz2, calendar, ctype, curl, dom, mbstring, FFI, fileinfo, ftp, gd, geoip, gettext, gmp, iconv, imagick, imap, intl, json, ldap, exif, mysqli, pdo_mysql, pdo_sqlite, apc, posix, readline, shmop, SimpleXML, soap, sockets, sqlite3, sysvmsg, sysvsem, sysvshm, tokenizer, uploadprogress, xmlreader, xmlrpc, xmlwriter, xsl, zip, Phar, Zend OPcache
+---------------------------------------+---------+--------+
| Flarum Extensions                     |         |        |
+---------------------------------------+---------+--------+
| ID                                    | Version | Commit |
+---------------------------------------+---------+--------+
| flarum-flags                          | v1.2.0  |        |
| flarum-subscriptions                  | v1.2.0  |        |
| flarum-tags                           | v1.2.0  |        |
| fof-oauth                             | 1.2.2   |        |
| flarum-suspend                        | v1.2.0  |        |
| flarum-approval                       | v1.2.0  |        |
| fof-follow-tags                       | 1.1.1   |        |
| v17development-third-party-login-only | v0.1.1  |        |
| justoverclock-guestengagement         | 1.0.3   |        |
| frie-nextcloud-oauth                  | 0.2     |        |
| fof-user-directory                    | 1.2.2   |        |
| fof-upload                            | 1.1.0   |        |
| fof-subscribed                        | 1.1.0   |        |
| fof-split                             | 1.0.1   |        |
| fof-pretty-mail                       | 1.0.1   |        |
| fof-pages                             | 1.0.3   |        |
| fof-links                             | 1.0.3   |        |
| fof-default-user-preferences          | 1.0.0   |        |
| fof-cookie-consent                    | 1.1.0   |        |
| flarum-sticky                         | v1.2.0  |        |
| flarum-statistics                     | v1.2.0  |        |
| flarum-nicknames                      | v1.2.0  |        |
| flarum-mentions                       | v1.2.0  |        |
| flarum-markdown                       | v1.2.0  |        |
| flarum-lock                           | v1.2.0  |        |
| flarum-likes                          | v1.2.0  |        |
| flarum-lang-english                   | v1.2.0  |        |
| flarum-emoji                          | v1.2.0  |        |
| flarum-bbcode                         | v1.2.0  |        |
| clarkwinkelmann-mailing               | 1.0.0   |        |
| clarkwinkelmann-follow-tags-prompt    | 1.0.1   |        |
| clarkwinkelmann-create-user-modal     | 1.3.1   |        |
+---------------------------------------+---------+--------+
Base URL: https://forum.ecocounts.community
Installation path: /home/carbonc/sites/flarum
Queue driver: sync
Mail driver: smtp
Debug mode: ON

Don't forget to turn off debug mode! It should never be turned on in a production system.

from subscribed.

eddiewebb avatar eddiewebb commented on June 3, 2024

Same exact issue here, is there a workaround besides disabling plugin?

from subscribed.

eddiewebb avatar eddiewebb commented on June 3, 2024

Possible solution(s)
Can we just use User::class instead of $blueprint->user::class ?

That did not match resource class in SLugManager, so returns error on it.

flarum.ERROR: TypeError: Flarum\Http\SlugManager::forResource(): Return value must be of type Flarum\Http\SlugDriverInterface, null returned in /Users/eddie/Development/adkgreen/vendor/flarum/core/src/Http/SlugManager.php:25
Stack trace:
#0 /Users/eddie/Development/adkgreen/storage/views/7bd1794f592e6d63e08a8638e8e26f7b9616402c.php(5): Flarum\Http\SlugManager->forResource('User')

from subscribed.

eddiewebb avatar eddiewebb commented on June 3, 2024

@clarkwinkelmann / @adam42a - I have submitted a simple PR to fix this, working locally. (see pr for email screenshot)

from subscribed.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.