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

Search results page broken (JavaScript errors) #1

Closed
verement opened this issue Aug 1, 2020 · 3 comments
Closed

Search results page broken (JavaScript errors) #1

verement opened this issue Aug 1, 2020 · 3 comments
Labels
bug Something isn't working

Comments

@verement
Copy link

verement commented Aug 1, 2020

What steps will reproduce the problem?

Submit a search on the global search page.

What is the expected result?

The results should display and no JavaScript errors should result.

What do you get instead?

The following JavaScript warning:

[Warning] Required a non initialized module: linkpreview.LinkPreview (humhub-app.js:17094)

Also, the following JavaScript error:

[Error] ERROR - root: Could not initialize module: humhub.modules.ui.modal
        TypeError: null is not an object (evaluating 'a.global.$')
                m — humhub-app.js:18891
                r — humhub-app.js:17210:138
                (anonymous function) — humhub-app.js:17203
                each — humhub-app.js:728
                (anonymous function) — humhub-app.js:17202
                l — humhub-app.js:1850
                (anonymous function) — humhub-app.js:1857
	(anonymous function) (humhub-app.js:17537)
	(anonymous function) (humhub-app.js:17524:425)
	(anonymous function) (humhub-app.js:17517)
	r (humhub-app.js:17573)
	r (humhub-app.js:17212)
	(anonymous function) (humhub-app.js:17203)
	each (humhub-app.js:728)
	(anonymous function) (humhub-app.js:17202)
	l (humhub-app.js:1850)
	(anonymous function) (humhub-app.js:1857)

Additional info

Q A
HumHub version 1.6.0
PHP version 7.3.19
Operating system Debian

Note: Also provide the full error stacks from Administration --> Information --> Logging and errors from your browser console if possible.
Note: Please use the community site for any questions on customizing HumHub.

@luke- luke- transferred this issue from humhub/humhub Aug 3, 2020
@luke-
Copy link
Contributor

luke- commented Aug 3, 2020

@buddh4 Can you take a look?

@luke- luke- added the bug Something isn't working label Aug 3, 2020
@buddh4
Copy link

buddh4 commented Aug 4, 2020

Not really sure if this is actually related to the linkpreview module. I could not recreate this.

  • Are there any other errors in the logs?
  • Are there maybe any errors in the network tab of your browser tools?
  • Could you retry with debug mode since this will give us a more informative error

@verement
Copy link
Author

I’m not able to recreate this now either; I’m going to assume it was related to humhub/humhub#4292. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants