• Resolved thomasprice61

    (@thomasprice61)


    The following javascript error is observer when WordPress was updated to 5.6

    
    Uncaught TypeError: this.getAttribute is not a function
        at HTMLDocument.title (stafflist.js?ver=1:108)
        at Tipsy.getTitle (tipsy.js?ver=1.3:105)
        at Tipsy.show (tipsy.js?ver=1.3:28)
        at HTMLDocument.enter (tipsy.js?ver=1.3:157)
        at HTMLDocument.handle (jquery.min.js?ver=3.5.1:2)
        at HTMLDocument.dispatch (jquery.min.js?ver=3.5.1:2)
        at HTMLDocument.v.handle (jquery.min.js?ver=3.5.1:2)
    

    Are you able to update StaffList to support WP 5.6?

    thank you

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author ERA404

    (@era404)

    Hello @thomasprice61

    We retired the tipsy tooltip library in favor of TippyJS for the StaffList tooltips. Please let me know if this resolves the issue you were experiencing.

    ERA404

    Thread Starter thomasprice61

    (@thomasprice61)

    Resolved, many thanks

    regards
    Thomas

    • This reply was modified 4 years, 3 months ago by thomasprice61.
    Thread Starter thomasprice61

    (@thomasprice61)

    Hi ERA404,
    Just some small feedback… when Chrome Dev is used, the following errors occur:

    DevTools failed to load SourceMap: Could not load content for https://test1.audax.org.au/wp-content/plugins/stafflist/lib/tippyjs/popper.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
    DevTools failed to load SourceMap: Could not load content for https://test1.audax.org.au/wp-content/plugins/stafflist/lib/tippyjs/tippy-bundle.umd.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE

    This is resolved by modifying the last line (replace //# with //) in the 2 files:

    • In popper.min.js // sourceMappingURL=popper.min.js.map, and
    • in tippy.min.js // sourceMappingURL=tippy-bundle.umd.min.js.map

    Note: I am not aware of this impacting your product, just housekeeping.

    • This reply was modified 4 years, 2 months ago by thomasprice61.
    Plugin Author ERA404

    (@era404)

    Sounds good, thanks @thomasprice61

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘js error in WordPress 5.6’ is closed to new replies.