@datlechin Thank you for your continued work on this extension and others. Sadly Birthdays currently breaks my Test/DEV-Installation of Flarum.
[2023-06-25 09:23:14] flarum.ERROR: ParseError: syntax error, unexpected 'protected' (T_PROTECTED), expecting variable (T_VARIABLE) in /var/www/example.net/flarum/vendor/datlechin/flarum-birthdays/src/Access/UserPolicy.php:12
Stack trace:
#0 /var/www/example.net/flarum/vendor/composer/ClassLoader.php(346): Composer\Autoload\includeFile()
#1 [internal function]: Composer\Autoload\ClassLoader->loadClass()
#2 [internal function]: spl_autoload_call()
#3 /var/www/example.net/flarum/vendor/illuminate/container/Container.php(877): ReflectionClass->__construct()
#4 /var/www/example.net/flarum/vendor/illuminate/container/Container.php(758): Illuminate\Container\Container->build()
#5 /var/www/example.net/flarum/vendor/illuminate/container/Container.php(694): Illuminate\Container\Container->resolve()
#6 /var/www/example.net/flarum/vendor/flarum/core/src/User/Access/Gate.php(106): Illuminate\Container\Container->make()
#7 [internal function]: Flarum\User\Access\Gate->Flarum\User\Access\{closure}()
#8 /var/www/example.net/flarum/vendor/flarum/core/src/User/Access/Gate.php(105): array_map()
#9 /var/www/example.net/flarum/vendor/flarum/core/src/User/Access/Gate.php(71): Flarum\User\Access\Gate->getPolicies()
#10 /var/www/example.net/flarum/vendor/flarum/core/src/User/User.php(790): Flarum\User\Access\Gate->allows()
#11 /var/www/example.net/flarum/vendor/flarum/core/src/Api/Serializer/UserSerializer.php(26): Flarum\User\User->can()
#12 /var/www/example.net/flarum/vendor/flarum/core/src/Api/Serializer/CurrentUserSerializer.php(20): Flarum\Api\Serializer\UserSerializer->getDefaultAttributes()
#13 /var/www/example.net/flarum/vendor/flarum/core/src/Api/Serializer/AbstractSerializer.php(88): Flarum\Api\Serializer\CurrentUserSerializer->getDefaultAttributes()
#14 /var/www/example.net/flarum/vendor/sycho/json-api/src/Resource.php(183): Flarum\Api\Serializer\AbstractSerializer->getAttributes()
#15 /var/www/example.net/flarum/vendor/sycho/json-api/src/Resource.php(81): Tobscure\JsonApi\Resource->getAttributes()
#16 /var/www/example.net/flarum/vendor/sycho/json-api/src/Document.php(194): Tobscure\JsonApi\Resource->toArray()
#17 [internal function]: Tobscure\JsonApi\Document->Tobscure\JsonApi\{closure}()
#18 /var/www/example.net/flarum/vendor/sycho/json-api/src/Document.php(193): array_map()
#19 /var/www/example.net/flarum/vendor/sycho/json-api/src/Document.php(232): Tobscure\JsonApi\Document->toArray()
#20 /var/www/example.net/flarum/vendor/flarum/core/src/Api/JsonApiResponse.php(27): Tobscure\JsonApi\Document->jsonSerialize()
#21 /var/www/example.net/flarum/vendor/flarum/core/src/Api/Controller/AbstractSerializeController.php(139): Flarum\Api\JsonApiResponse->__construct()
#22 /var/www/example.net/flarum/vendor/flarum/core/src/Http/RouteHandlerFactory.php(41): Flarum\Api\Controller\AbstractSerializeController->handle()
#23 /var/www/example.net/flarum/vendor/flarum/core/src/Http/Middleware/ExecuteRoute.php(27): Flarum\Http\RouteHandlerFactory->Flarum\Http\{closure}()
#24 /var/www/example.net/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\ExecuteRoute->process()
#25 /var/www/example.net/flarum/vendor/flarum/core/src/Api/Middleware/ThrottleApi.php(33): Laminas\Stratigility\Next->handle()
#26 /var/www/example.net/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Api\Middleware\ThrottleApi->process()
#27 /var/www/example.net/flarum/vendor/flarum/core/src/Http/Middleware/ResolveRoute.php(69): Laminas\Stratigility\Next->handle()
#28 /var/www/example.net/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\ResolveRoute->process()
#29 /var/www/example.net/flarum/vendor/flarum/core/src/Http/Middleware/SetLocale.php(51): Laminas\Stratigility\Next->handle()
#30 /var/www/example.net/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\SetLocale->process()
#31 /var/www/example.net/flarum/vendor/flarum/core/src/Http/Middleware/HandleErrors.php(57): Laminas\Stratigility\Next->handle()
#32 /var/www/example.net/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\HandleErrors->process()
#33 /var/www/example.net/flarum/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(75): Laminas\Stratigility\Next->handle()
#34 /var/www/example.net/flarum/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(64): Laminas\Stratigility\MiddlewarePipe->process()
#35 /var/www/example.net/flarum/vendor/flarum/core/src/Api/Client.php(141): Laminas\Stratigility\MiddlewarePipe->handle()
#36 /var/www/example.net/flarum/vendor/flarum/core/src/Api/Client.php(91): Flarum\Api\Client->send()
#37 /var/www/example.net/flarum/vendor/flarum/core/src/Frontend/Frontend.php(69): Flarum\Api\Client->get()
#38 /var/www/example.net/flarum/vendor/flarum/core/src/Frontend/Frontend.php(50): Flarum\Frontend\Frontend->getForumDocument()
#39 /var/www/example.net/flarum/vendor/flarum/core/src/Frontend/Controller.php(32): Flarum\Frontend\Frontend->document()
#40 /var/www/example.net/flarum/vendor/flarum/core/src/Http/RouteHandlerFactory.php(41): Flarum\Frontend\Controller->handle()
#41 /var/www/example.net/flarum/vendor/flarum/core/src/Http/Middleware/ExecuteRoute.php(27): Flarum\Http\RouteHandlerFactory->Flarum\Http\{closure}()
#42 /var/www/example.net/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\ExecuteRoute->process()
#43 /var/www/example.net/flarum/vendor/fof/terms/src/Middlewares/RegisterMiddleware.php(59): Laminas\Stratigility\Next->handle()
#44 /var/www/example.net/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): FoF\Terms\Middlewares\RegisterMiddleware->process()
#45 /var/www/example.net/flarum/vendor/flarum/core/src/Http/Middleware/ContentTypeOptionsHeader.php(21): Laminas\Stratigility\Next->handle()
#46 /var/www/example.net/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\ContentTypeOptionsHeader->process()
#47 /var/www/example.net/flarum/vendor/flarum/core/src/Http/Middleware/ReferrerPolicyHeader.php(30): Laminas\Stratigility\Next->handle()
#48 /var/www/example.net/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\ReferrerPolicyHeader->process()
#49 /var/www/example.net/flarum/vendor/flarum/core/src/Http/Middleware/FlarumPromotionHeader.php(30): Laminas\Stratigility\Next->handle()
#50 /var/www/example.net/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\FlarumPromotionHeader->process()
#51 /var/www/example.net/flarum/vendor/flarum/core/src/Http/Middleware/ShareErrorsFromSession.php(57): Laminas\Stratigility\Next->handle()
#52 /var/www/example.net/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\ShareErrorsFromSession->process()
#53 /var/www/example.net/flarum/vendor/flarum/core/src/Http/Middleware/CheckCsrfToken.php(36): Laminas\Stratigility\Next->handle()
#54 /var/www/example.net/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\CheckCsrfToken->process()
#55 /var/www/example.net/flarum/vendor/flarum/core/src/Http/Middleware/ResolveRoute.php(69): Laminas\Stratigility\Next->handle()
#56 /var/www/example.net/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\ResolveRoute->process()
#57 /var/www/example.net/flarum/vendor/flarum/core/src/Http/Middleware/SetLocale.php(51): Laminas\Stratigility\Next->handle()
#58 /var/www/example.net/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\SetLocale->process()
#59 /var/www/example.net/flarum/vendor/flarum/core/src/Http/Middleware/AuthenticateWithSession.php(31): Laminas\Stratigility\Next->handle()
#60 /var/www/example.net/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\AuthenticateWithSession->process()
#61 /var/www/example.net/flarum/vendor/flarum/core/src/Http/Middleware/RememberFromCookie.php(52): Laminas\Stratigility\Next->handle()
#62 /var/www/example.net/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\RememberFromCookie->process()
#63 /var/www/example.net/flarum/vendor/flarum/core/src/Http/Middleware/StartSession.php(61): Laminas\Stratigility\Next->handle()
#64 /var/www/example.net/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\StartSession->process()
#65 /var/www/example.net/flarum/vendor/flarum/core/src/Http/Middleware/CollectGarbage.php(46): Laminas\Stratigility\Next->handle()
#66 /var/www/example.net/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\CollectGarbage->process()
#67 /var/www/example.net/flarum/vendor/flarum/core/src/Http/Middleware/ParseJsonBody.php(28): Laminas\Stratigility\Next->handle()
#68 /var/www/example.net/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\ParseJsonBody->process()
#69 /var/www/example.net/flarum/vendor/flarum/core/src/Http/Middleware/HandleErrors.php(57): Laminas\Stratigility\Next->handle()
#70 /var/www/example.net/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\HandleErrors->process()
#71 /var/www/example.net/flarum/vendor/flarum/core/src/Http/Middleware/InjectActorReference.php(25): Laminas\Stratigility\Next->handle()
#72 /var/www/example.net/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\InjectActorReference->process()
#73 /var/www/example.net/flarum/vendor/fof/merge-discussions/src/Middleware/Redirection.php(28): Laminas\Stratigility\Next->handle()
#74 /var/www/example.net/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): FoF\MergeDiscussions\Middleware\Redirection->process()
#75 /var/www/example.net/flarum/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(75): Laminas\Stratigility\Next->handle()
#76 /var/www/example.net/flarum/vendor/middlewares/request-handler/src/RequestHandler.php(84): Laminas\Stratigility\MiddlewarePipe->process()
#77 /var/www/example.net/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Middlewares\RequestHandler->process()
#78 /var/www/example.net/flarum/vendor/middlewares/base-path-router/src/BasePathRouter.php(101): Laminas\Stratigility\Next->handle()
#79 /var/www/example.net/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Middlewares\BasePathRouter->process()
#80 /var/www/example.net/flarum/vendor/laminas/laminas-stratigility/src/Middleware/OriginalMessages.php(36): Laminas\Stratigility\Next->handle()
#81 /var/www/example.net/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Laminas\Stratigility\Middleware\OriginalMessages->process()
#82 /var/www/example.net/flarum/vendor/middlewares/base-path/src/BasePath.php(73): Laminas\Stratigility\Next->handle()
#83 /var/www/example.net/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Middlewares\BasePath->process()
#84 /var/www/example.net/flarum/vendor/flarum/core/src/Http/Middleware/ProcessIp.php(24): Laminas\Stratigility\Next->handle()
#85 /var/www/example.net/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\ProcessIp->process()
#86 /var/www/example.net/flarum/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(75): Laminas\Stratigility\Next->handle()
#87 /var/www/example.net/flarum/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(64): Laminas\Stratigility\MiddlewarePipe->process()
#88 /var/www/example.net/flarum/vendor/laminas/laminas-httphandlerrunner/src/RequestHandlerRunner.php(96): Laminas\Stratigility\MiddlewarePipe->handle()
#89 /var/www/example.net/flarum/vendor/flarum/core/src/Http/Server.php(45): Laminas\HttpHandlerRunner\RequestHandlerRunner->run()
#90 /var/www/example.net/flarum/public/index.php(26): Flarum\Http\Server->listen()
#91 {main}
# php flarum info
Flarum core: 1.8.1
PHP version: 7.4.3-4ubuntu2.18
MySQL version: 8.0.33-0ubuntu0.20.04.2
Loaded extensions: Core, date, libxml, openssl, pcre, zlib, filter, hash, pcntl, Reflection, SPL, session, standard, sodium, mysqlnd, PDO, xml, bz2, calendar, ctype, curl, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, iconv, imagick, json, 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.8.0 | |
| flarum-bbcode | v1.8.0 | |
| flarum-suspend | v1.8.0 | |
| flarum-approval | v1.8.0 | |
| flarum-tags | v1.8.0 | |
| fof-formatting | 1.0.3 | |
| wolfgang-demeter-bbcode-5star-rating | dev-main | 57722d46957880ba45cce5a1e628ef51bb9237ab |
| wolfgang-demeter-amazon-product-api | dev-main | 103a697272450f99fe2fb223aaec2c668e72730b |
| fof-user-bio | 1.1.1 | |
| fof-upload | 1.2.3 | |
| fof-terms | 1.2.1 | |
| fof-split | 1.1.0 | |
| fof-socialprofile | 1.1.5 | |
| fof-recaptcha | 1.1.1 | |
| fof-pages | 1.0.5 | |
| fof-merge-discussions | 1.4.0 | |
| fof-links | 1.1.4 | |
| fof-byobu | 1.3.0 | |
| fof-amazon-affiliation | 1.1.0 | |
| flarum-subscriptions | v1.8.0 | |
| flarum-sticky | v1.8.0 | |
| flarum-statistics | v1.8.0 | |
| flarum-nicknames | v1.8.0 | |
| flarum-mentions | v1.8.0 | |
| flarum-markdown | v1.8.0 | |
| flarum-lock | v1.8.0 | |
| flarum-likes | v1.8.0 | |
| flarum-lang-german | dev-master | |
| flarum-lang-english | v1.8.0 | |
| datlechin-birthdays | v2.0.0 | |
| askvortsov-auto-moderator | v0.1.2 | |
| antoinefr-bbcode-fa | v1.0.0 | |
+--------------------------------------+------------+------------------------------------------+
Base URL: https://dev.example.net
Installation path: /var/www/example.net/flarum
Queue driver: sync
Session driver: file
Mail driver: smtp
Debug mode: ON
Don't forget to turn off debug mode! It should never be turned on in a production system.