MichaelBelgium / flarum-profile-views

An extension for the Flarum forum software which tracks and displays profile views.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Class [...] CreateUserProfileViewController does not exist

Hiobi opened this issue · comments

commented

Hi MichaelBelgium,

When I visit an user's profile, I get an error and no views are displayed.

Technical Details

  • Version of Flarum (x.y.z): 0.1.0-beta.8.1
  • Version of extension (x.y.z): v0.1.0-beta-8-3
  • Website URL: https://forum.nefald.fr
  • The webserver you are running (Apache, Nginx, etc): Nginx
  • PHP version (x.y.z): 7.3.5-1
  • Hosted environment : Dedicated server
  • Hosting provider : online.net

Flarum info

Flarum core 0.1.0-beta.8.1
PHP version: 7.3.5-1+0~20190503093827.38+stretch~1.gbp60a41b
Loaded extensions: Core, date, libxml, openssl, pcre, zlib, filter, hash, pcntl, Reflection, SPL, sodium, session, standard, mysqlnd, PDO, xml, calendar, ctype, curl, dom, mbstring, fileinfo, ftp, gd, gettext, iconv, imagick, json, exif, mysqli, newrelic, pdo_mysql, pdo_sqlite, Phar, posix, readline, recode, shmop, SimpleXML, sockets, sqlite3, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, wddx, xmlreader, xmlrpc, xmlwriter, xsl, zip, Zend OPcache
+---------------------------------+-----------------+--------+
| Flarum Extensions               |                 |        |
+---------------------------------+-----------------+--------+
| ID                              | Version         | Commit |
+---------------------------------+-----------------+--------+
| flarum-statistics               | v0.1.0-beta.8   |        |
| flarum-sticky                   | v0.1.0-beta.8   |        |
| flarum-subscriptions            | v0.1.0-beta.8   |        |
| flarum-suspend                  | v0.1.0-beta.8   |        |
| flarum-tags                     | v0.1.0-beta.8.2 |        |
| flarum-flags                    | v0.1.0-beta.8.1 |        |
| flarum-emoji                    | v0.1.0-beta.8   |        |
| flarum-bbcode                   | v0.1.0-beta.8   |        |
| flarum-approval                 | v0.1.0-beta.8   |        |
| flarum-mentions                 | v0.1.0-beta.8.1 |        |
| flarum-markdown                 | v0.1.0-beta.8   |        |
| flarum-lock                     | v0.1.0-beta.8   |        |
| flarum-likes                    | v0.1.0-beta.8.1 |        |
| flarum-pusher                   | v0.1.0-beta.8.1 |        |
| milescellar-lang-french         | v1.2.1          |        |
| noriods-auto-more               | 0.3.0           |        |
| flagrow-direct-links            | 0.2.0           |        |
| flagrow-terms                   | 0.3.1           |        |
| flagrow-users-list              | 0.1.2           |        |
| reflar-polls                    | 1.3.2           |        |
| flagrow-upload                  | 0.7.1           |        |
| flagrow-byobu                   | 0.2.2           |        |
| fof-socialprofile               | 0.1.1           |        |
| fof-pages                       | 0.2.2           |        |
| fof-formatting                  | 0.1.2           |        |
| kvothe-pipetables               | 1.0.9           |        |
| fof-links                       | 0.1.1           |        |
| kvothe-keyboard-shortcuts       | v0.1.0          |        |
| fof-default-group               | 0.1.0           |        |
| flagrow-analytics               | 0.8.0           |        |
| jordanjay29-summaries           | 0.3.1           |        |
| flagrow-user-directory          | 0.2.1           |        |
| amaurycarrade-syndication       | v0.2.0          |        |
| fof-merge-discussions           | 0.2.1           |        |
| flagrow-split                   | 0.3.2           |        |
| reflar-reactions                | 1.0.0-beta.5.2  |        |
| fof-prevent-necrobumping        | 0.1.3           |        |
| michaelbelgium-discussion-views | v0.1.0-beta.8.2 |        |
| rooaaar-lang-french-extended    | v1.0.5          |        |
| flagrow-mason                   | 0.3.1           |        |
| fajuu-contactbutton             | v2.0            |        |
| fof-sentry                      | 0.1.1           |        |
| michaelbelgium-profile-views    | v0.1.0-beta-8-3 |        |
| fof-recaptcha                   | 0.1.0           |        |
| reflar-cookie-consent           | 0.2.0           |        |
| fof-secure-https                | v0.1.0          |        |
| fof-spamblock                   | 0.2.1           |        |
| reflar-pwned-passwords          | 0.2.0           |        |
| flagrow-bazaar                  | 0.3.10          |        |
| fof-transliterator              | 0.1.1           |        |
| reflar-stopforumspam            | 0.1.5           |        |
| flagrow-sitemap                 | 0.2.0           |        |
+---------------------------------+-----------------+--------+

Logs files

Logs from sentry.io

Class Michaelbelgium\Profileviews\Controllers\CreateUserProfileViewController does not exist

Details

Exception(most recent call first)

ReflectionException: Class Michaelbelgium\Profileviews\Controllers\CreateUserProfileViewController does not exist
#46 vendor/illuminate/container/Container.php(752): __construct
#45 vendor/illuminate/container/Container.php(752): build
#44 vendor/illuminate/container/Container.php(631): resolve
#43 vendor/illuminate/container/Container.php(586): make
#42 vendor/flarum/core/src/Foundation/Application.php(491): make
#41 vendor/flarum/core/src/Http/RouteHandlerFactory.php(76): resolveController
#40 vendor/flarum/core/src/Http/RouteHandlerFactory.php(36): Flarum\Http\{closure}
#39 vendor/flarum/core/src/Http/Middleware/DispatchRoute.php(67): process
#38 vendor/zendframework/zend-stratigility/src/Next.php(52): handle
#37 vendor/reflar/stopforumspam/src/Middleware/RegisterMiddleware.php(75): process
#36 vendor/zendframework/zend-stratigility/src/Next.php(52): handle
#35 vendor/reflar/pwned-passwords/src/Middleware/CheckPassword.php(66): process
#34 vendor/zendframework/zend-stratigility/src/Next.php(52): handle
#33 vendor/fof/secure-https/src/Middlewares/ContentSecurityPolicyMiddleware.php(21): process
#32 vendor/zendframework/zend-stratigility/src/Next.php(52): handle
#31 vendor/fof/sentry/src/Middleware/HandleErrorsWithSentry.php(19): process
#30 vendor/zendframework/zend-stratigility/src/Next.php(52): handle
#29 vendor/flagrow/terms/src/Middlewares/RegisterMiddleware.php(59): process
#28 vendor/zendframework/zend-stratigility/src/Next.php(52): handle
#27 vendor/flarum/core/src/Http/Middleware/SetLocale.php(51): process
#26 vendor/zendframework/zend-stratigility/src/Next.php(52): handle
#25 vendor/flarum/core/src/Http/Middleware/AuthenticateWithHeader.php(55): process
#24 vendor/zendframework/zend-stratigility/src/Next.php(52): handle
#23 vendor/flarum/core/src/Http/Middleware/AuthenticateWithSession.php(34): process
#22 vendor/zendframework/zend-stratigility/src/Next.php(52): handle
#21 vendor/flarum/core/src/Http/Middleware/RememberFromCookie.php(52): process
#20 vendor/zendframework/zend-stratigility/src/Next.php(52): handle
#19 vendor/flarum/core/src/Http/Middleware/StartSession.php(62): process
#18 vendor/zendframework/zend-stratigility/src/Next.php(52): handle
#17 vendor/flarum/core/src/Api/Middleware/FakeHttpMethods.php(31): process
#16 vendor/zendframework/zend-stratigility/src/Next.php(52): handle
#15 vendor/flarum/core/src/Http/Middleware/ParseJsonBody.php(29): process
#14 vendor/zendframework/zend-stratigility/src/Next.php(52): handle
#13 vendor/flarum/core/src/Api/Middleware/HandleErrors.php(42): process
#12 vendor/zendframework/zend-stratigility/src/Next.php(52): handle
#11 vendor/zendframework/zend-stratigility/src/MiddlewarePipe.php(83): process
#10 vendor/middlewares/request-handler/src/RequestHandler.php(84): process
#9 vendor/zendframework/zend-stratigility/src/Next.php(52): handle
#8 vendor/middlewares/base-path-router/src/BasePathRouter.php(97): process
#7 vendor/zendframework/zend-stratigility/src/Next.php(52): handle
#6 vendor/middlewares/base-path/src/BasePath.php(53): process
#5 vendor/zendframework/zend-stratigility/src/Next.php(52): handle
#4 vendor/zendframework/zend-stratigility/src/MiddlewarePipe.php(83): process
#3 vendor/zendframework/zend-stratigility/src/MiddlewarePipe.php(72): handle
#2 vendor/zendframework/zend-httphandlerrunner/src/RequestHandlerRunner.php(95): run
#1 vendor/flarum/core/src/Http/Server.php(46): listen
#0 public/index.php(22): null

Can you try dev-master? If that fixes it i'll make a new release

commented

With dev-master, It works like a charm! Great job @MichaelBelgium :)

Im surprised nobody noticed me before about this!