Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No hint path defined for [another-extension-i-added] #394

Open
edgeinfinity1 opened this issue Feb 3, 2024 · 3 comments
Open

No hint path defined for [another-extension-i-added] #394

edgeinfinity1 opened this issue Feb 3, 2024 · 3 comments
Labels

Comments

@edgeinfinity1
Copy link

Bug Report

Current Behavior
A clear and concise description of the behavior.

Steps to Reproduce

  1. Install and enable fof/upload
  2. Install other extensions, such as fof/sitemap
  3. In shell use php flarum fof:sitemap:build or some command alike
  4. Error: No hint path defined for [...]
    This happens and ONLY happens when I hava fof/upload activated, and as far as I know this issue has little to do with the actual extention mentioned in the brackets. It's likely to be a namespace issue.

Environment

  • Flarum version: 1.8.3
  • Extension version: 1.5.4
  • Website URL: https://forum.monika.love
  • Webserver: nginx
  • Hosting environment: local deployment on Ubuntu
  • PHP version: 8.0
  • Browser: any
root@forum:/www/wwwroot/192.168.5.132# php flarum info
Flarum core: 1.8.3
PHP version: 8.0.26
MySQL version: 5.7.42-log
Loaded extensions: Core, date, libxml, openssl, pcre, sqlite3, zlib, bcmath, ctype, curl, dom, filter, ftp, gd, gettext, hash, iconv, intl, json, mbstring, SPL, session, pcntl, standard, PDO, mysqlnd, pdo_sqlite, Phar, posix, Reflection, pdo_mysql, shmop, SimpleXML, soap, sockets, sodium, mysqli, sysvsem, tokenizer, xml, xmlreader, xmlwriter, zip, fileinfo, redis, exif, gmp, Zend OPcache
+----------------------------------------+---------+------------------------------------------+
| Flarum Extensions                      |         |                                          |
+----------------------------------------+---------+------------------------------------------+
| ID                                     | Version | Commit                                   |
+----------------------------------------+---------+------------------------------------------+
| flarum-suspend                         | v1.8.1  |                                          |
| flarum-tags                            | v1.8.0  |                                          |
| askvortsov-auto-moderator              | v0.1.3  |                                          |
| flarum-likes                           | v1.8.0  |                                          |
| flarum-bbcode                          | v1.8.0  |                                          |
| fof-upload                             | 1.4.2   | 09d7c18e6ab8fbed43490db9fd59c5371838e1b2 |
| flarum-sticky                          | v1.8.0  |                                          |
| flarum-nicknames                       | v1.8.0  |                                          |
| flarum-lock                            | v1.8.0  |                                          |
| flarum-flags                           | v1.8.0  |                                          |
| afrux-forum-widgets-core               | v0.1.7  |                                          |
| fof-pages                              | 1.0.7   |                                          |
| fof-user-directory                     | 1.3.2   |                                          |
| flarum-mentions                        | v1.8.2  |                                          |
| antoinefr-money                        | v1.3.1  |                                          |
| flarum-subscriptions                   | v1.8.0  |                                          |
| flarum-markdown                        | v1.8.0  |                                          |
| zerosonesfun-bbcode-audio              | 3.1.3   | 7747545af60c6ebc2e9a775258da9ba1bcefd3b7 |
| zequeen-acgembed-remastered            | v1.1.2  |                                          |
| v17development-user-badges             | v1.1.0  |                                          |
| v17development-seo                     | v1.8.0  | cbbe884d2c1e0c79e0b708a7a4d924c2fc08545f |
| the-turk-stickiest                     | 3.0.1   |                                          |
| sycho-profile-cover                    | v1.3.5  |                                          |
| subasteve-action-log                   | v0.1.5  |                                          |
| pipecraft-id-slug                      | v1.1.0  |                                          |
| nearata-embed-video                    | 3.3.2   |                                          |
| michaelbelgium-discussion-views        | v7.2.1  | f904f7a7c2ceeb81114985b65870745a8510e634 |
| kilowhat-audit-free                    | 1.7.0   |                                          |
| justoverclock-staff-members-widget     | 0.1.3   |                                          |
| justoverclock-guestengagement          | 1.0.3   |                                          |
| imeepo-daily-check-in                  | v1.1.0  |                                          |
| ianm-synopsis                          | 1.3.1   |                                          |
| ianm-syndication                       | 1.3.4   |                                          |
| fof-username-request                   | 1.2.3   |                                          |
| fof-user-bio                           | 1.3.0   |                                          |
| fof-terms                              | 1.2.1   |                                          |
| fof-split                              | 1.1.0   |                                          |
| fof-sitemap                            | 2.2.1   |                                          |
| fof-profile-image-crop                 | 1.1.6   |                                          |
| fof-prevent-necrobumping               | 1.1.1   |                                          |
| fof-polls                              | 1.4.2   |                                          |
| fof-nightmode                          | 1.5.3   |                                          |
| fof-merge-discussions                  | 1.4.1   |                                          |
| fof-links                              | 1.2.0   |                                          |
| fof-linguist                           | 1.1.1   |                                          |
| fof-impersonate                        | 1.1.1   |                                          |
| fof-html-errors                        | 1.1.1   |                                          |
| fof-drafts                             | 1.2.7   |                                          |
| fof-doorman                            | 1.1.3   |                                          |
| fof-best-answer                        | 1.3.2   |                                          |
| flarum-statistics                      | v1.8.0  |                                          |
| flarum-lang-english                    | v1.8.0  |                                          |
| flarum-lang-chinese-simplified         | v1.3.0  |                                          |
| ecnu-im-sticky-sidenav                 | v1.1.0  |                                          |
| dem13n-topic-starter-label             | 0.1.8   |                                          |
| darkle-fancybox                        | 1.1.2   |                                          |
| club-1-cross-references                | v1.1.1  |                                          |
| clarkwinkelmann-who-read               | 1.4.1   |                                          |
| clarkwinkelmann-scout                  | 0.3.5   | 4e1eecd18f687b3105c8dd3cc6ca5f8dc434729d |
| clarkwinkelmann-prominent-post-numbers | 1.0.0   |                                          |
| clarkwinkelmann-money-rewards          | 1.0.0   |                                          |
| clarkwinkelmann-mailing                | 1.1.0   |                                          |
| clarkwinkelmann-emojionearea           | 1.0.0   |                                          |
| blomstra-sort-order-toggle             | 0.2.0   | 4e3cf5919fa2af5e09594eefebfb4506d6c330dc |
| blomstra-realtime                      | 0.2.18  |                                          |
| askvortsov-rich-text                   | v2.1.7  |                                          |
| askvortsov-pwa                         | v3.2.1  |                                          |
| askvortsov-moderator-warnings          | v0.6.3  |                                          |
| askvortsov-markdown-tables             | v1.2.1  |                                          |
| askvortsov-categories                  | v3.0.9  |                                          |
| afrux-online-users-widget              | v0.1.6  | 092802cdd833d6d028b94f4177f9d46be9d8486c |
| afrux-news-widget                      | v0.1.1  |                                          |
| afrux-forum-stats-widget               | v0.1.1  |                                          |
| acpl-mobile-tab                        | 1.4.1   |                                          |
+----------------------------------------+---------+------------------------------------------+
Base URL: https://forum.monika.love
Installation path: /www/wwwroot/192.168.5.132
Queue driver: redis
Session driver: redis (Code override. Configured to file)
Scheduler status: Active
Mail driver: smtp
Debug mode: off

Possible solution(s)

Switch to proper namespace adding logic maybe?
Additional Context
An issue alike: askvortsov1/flarum-moderator-warnings#12

@luceos
Copy link
Contributor

luceos commented Feb 3, 2024

The problem is caused by another extension that is no longer compatible. For us to understand which extension that is you will need to search through the vendor directory for ->addNamespace.

@edgeinfinity1
Copy link
Author

Sorry for the late reply.
I went through the guidance about ->addNamespace the very first time I went in to the problem, but found nothing more than some php provided by lavarel and flarum core.
This problem:
occurd when I updated upload from 1.4.2 to latest 1.5.4;
disappeared when I disabled the updated upload;
also disappeared when I downgraded upload and restored the database;
and would appear again when I try to upgrade.
Also tried other 1.5.x with no luck.
I can only doubt something is wrong about upload, at least the later versions.

@DavideIadeluca
Copy link
Member

Hi @edgeinfinity1 thanks for your bug report! On a sidenote, you should update PHP to 8.1 or newer (if not already done in the meantime) because security support for 8.0 ended 3 months ago (https://endoflife.date/php).

Which is the latest version of fof/upload in which the bug is not occurring?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants