humhub / linkpreview-issues

Issue Tracker for LinkPreview module
2 stars 1 forks source link

Search results page broken (JavaScript errors) #1

Closed verement closed 4 years ago

verement commented 4 years ago

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- commented 4 years ago

@buddh4 Can you take a look?

buddh4 commented 4 years ago

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

verement commented 4 years ago

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