clarkwinkelmann
Just to give you an update.
I tried (clarkwinkelmann) this version now. Still the same error but this time I tried the six packages step by step.
Those work just fine with composer require clarkwinkelmann/flarum-ext-likes-received
:
mariadb-client-10.3
mariadb-client-core-10.3
mariadb-common
The error appears updating these packages:
mariadb-server
mariadb-server-10.3
mariadb-server-core-10.3
Still:
php flarum clarkwinkelmann:likes-received:refresh
1/446 [░░░░░░░░░░░░░░░░░░░░░░░░░░░░] 0%PHP Fatal error: Uncaught Error: Call to a member function getAttributes() on null in /pathtoflarum/vendor/illuminate/database/Eloquent/Collection.php:88
Stack trace:
#0 /pathtoflarum/vendor/illuminate/database/Eloquent/Collection.php(111): Illuminate\Database\Eloquent\Collection->loadAggregate()
#1 /pathtoflarum/vendor/clarkwinkelmann/flarum-ext-likes-received/src/Commands/UpdateLikesReceivedCommand.php(26): Illuminate\Database\Eloquent\Collection->loadCount()
#2 /pathtoflarum/vendor/illuminate/database/Concerns/BuildsQueries.php(51): ClarkWinkelmann\LikesReceived\Commands\UpdateLikesReceivedCommand->ClarkWinkelmann\LikesReceived\Commands\{closure}()
#3 /pathtoflarum/vendor/clarkwinkelmann/flarum-ext-likes-received/src/Commands/UpdateLikesReceivedCommand.php(33): Illuminate\Database\Eloquent\Builder->chunk()
#4 /pathtoflarum/vendor/illuminate/container/BoundMethod.php(36): ClarkWinkelmann\LikesReceived\Commands\UpdateLikesReceivedCommand->handle()
#5 /pathtoflarum/vendor/illuminate/container/Util.php(40): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#6 /pathtoflarum/vendor/illuminate/container/BoundMethod.php(93): Illuminate\Container\Util::unwrapIfClosure()
#7 /pathtoflarum/vendor/illuminate/container/BoundMethod.php(37): Illuminate\Container\BoundMethod::callBoundMethod()
#8 /pathtoflarum/vendor/illuminate/container/Container.php(653): Illuminate\Container\BoundMethod::call()
#9 /pathtoflarum/vendor/illuminate/console/Command.php(136): Illuminate\Container\Container->call()
#10 /pathtoflarum/vendor/symfony/console/Command/Command.php(298): Illuminate\Console\Command->execute()
#11 /pathtoflarum/vendor/illuminate/console/Command.php(121): Symfony\Component\Console\Command\Command->run()
#12 /pathtoflarum/vendor/symfony/console/Application.php(1033): Illuminate\Console\Command->run()
#13 /pathtoflarum/vendor/symfony/console/Application.php(299): Symfony\Component\Console\Application->doRunCommand()
#14 /pathtoflarum/vendor/symfony/console/Application.php(171): Symfony\Component\Console\Application->doRun()
#15 /pathtoflarum/vendor/flarum/core/src/Console/Server.php(42): Symfony\Component\Console\Application->run()
#16 /pathtoflarum/flarum(24): Flarum\Console\Server->listen()
#17 {main}
thrown in /pathtoflarum/vendor/illuminate/database/Eloquent/Collection.php on line 88
My flarum info:
Flarum core 1.3.1
PHP version: 8.1.7
MySQL version: 10.3.31-MariaDB-0+deb10u1
Loaded extensions: Core, date, libxml, openssl, pcre, zlib, filter, hash, json, pcntl, Reflection, SPL, session, standard, sodium, mysqlnd, PDO, xml, calendar, ctype, curl, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, iconv, exif, mysqli, pdo_mysql, Phar, posix, readline, shmop, SimpleXML, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, xmlreader, xmlwriter, xsl, zip, Zend OPcache
+------------------------------------+---------+--------+
| Flarum Extensions | | |
+------------------------------------+---------+--------+
| ID | Version | Commit |
+------------------------------------+---------+--------+
| flarum-flags | v1.3.0 | |
| flarum-approval | v1.3.0 | |
| flarum-tags | v1.3.0 | |
| flarum-suspend | v1.3.1 | |
| flarum-markdown | v1.3.0 | |
| flarum-likes | v1.3.0 | |
| afrux-forum-widgets-core | v0.1.7 | |
| flarum-subscriptions | v1.3.1 | |
| fof-byobu | 1.1.6 | |
| v17development-seo | v1.8.0 | |
| therealsujitk-gifs | v4.1.1 | |
| sycho-move-posts | v0.1.6 | |
| nearata-no-self-likes | v1.2.0 | |
| justoverclock-welcomebox | 1.3.6 | |
| justoverclock-last-post-useravatar | 0.1.8 | |
| justoverclock-events-countdown | 0.1.8 | |
| justoverclock-country-flags | 0.2.1 | |
| justoverclock-contactme | 0.2.3 | |
| fof-username-request | 1.0.1 | |
| fof-user-directory | 1.2.3 | |
| fof-upload | 1.2.2 | |
| fof-terms | 1.1.2 | |
| fof-split | 1.0.1 | |
| fof-spamblock | 1.0.2 | |
| fof-sitemap | 1.0.3 | |
| fof-share-social | 1.1.0 | |
| fof-recaptcha | 1.1.0 | |
| fof-pretty-mail | 1.0.1 | |
| fof-polls | 1.0.5 | |
| fof-pages | 1.0.4 | |
| fof-nightmode | 1.3.1 | |
| fof-merge-discussions | 1.3.0 | |
| fof-links | 1.1.1 | |
| fof-linguist | 1.0.4 | |
| fof-ignore-users | 1.0.2 | |
| fof-html-errors | 1.0.0 | |
| fof-forum-statistics-widget | 1.0.2 | |
| fof-formatting | 1.0.2 | |
| fof-follow-tags | 1.1.5 | |
| fof-drafts | 1.1.2 | |
| fof-disposable-emails | 1.0.0 | |
| fof-default-user-preferences | 1.0.0 | |
| fof-cookie-consent | 1.1.0 | |
| fof-bbcode-details | 1.0.0 | |
| fof-ban-ips | 1.0.2 | |
| fof-analytics | 1.0.0 | |
| flarum-sticky | v1.3.0 | |
| flarum-statistics | v1.3.0 | |
| flarum-mentions | v1.3.1 | |
| flarum-lock | v1.3.0 | |
| flarum-lang-german | 1.3.0 | |
| flarum-lang-french | v3.7.0 | |
| flarum-lang-english | v1.3.0 | |
| flarum-emoji | v1.3.0 | |
| flarum-bbcode | v1.3.0 | |
| darkle-fancybox | 1.1.0 | |
| clarkwinkelmann-likes-received | 1.0.2 | |
| clarkwinkelmann-emojionearea | 1.0.0 | |
| clarkwinkelmann-circle-groups | 1.0.1 | |
| askvortsov-moderator-warnings | v0.6.1 | |
| askvortsov-categories | v3.0.6 | |
| afrux-online-users-widget | v0.1.6 | |
| acpl-mobile-tab | 1.1.0 | |
+------------------------------------+---------+--------+
Base URL: https://URL
Installation path: /pathtoflarum
Queue driver: sync
Mail driver: smtp
Debug mode: off
What could I do?