• Resolved jitka88

    (@jitka88)


    Hi guys,
    I have problem with your plugin last few updates (maybe? not sure) in combination of plugin Custom Post Types (https://www.ads-software.com/plugins/custom-post-types/).

    With combination of these plugins I get error with JQuery:

    load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,regenerator-runtime,wp-polyfill,wp-hooks&ver=5.9.3:2 Uncaught TypeError: $ is not a function
        at u (backend.js?ver=5.9.3:14:75235)
        at HTMLDocument.<anonymous> (backend.js?ver=5.9.3:14:79046)
        at e (load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,regenerator-runtime,wp-polyfill,wp-hooks&ver=5.9.3:2:30038)
        at t (load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,regenerator-runtime,wp-polyfill,wp-hooks&ver=5.9.3:2:30340)

    Because of this, the other plugin needing JQery to work, have problems (in administration part only as I can see) – Custom post types, Loco translate too. It happened on both site where the plugins were installed together.

    There is no caching on the web, I cleared the cache of the browser, but notning helped.
    Running on WP 6.0.0, these two plugins are on the last version.

    Could you help me to solve this?

    Thank you
    J.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Mark Kevin

    (@mkesteban08)

    Hi @jitka88 ,

    Thanks for reporting this to us!

    I’ll be sure to create a report regarding this so our developers can check what we can do from our end to avoid such conflicts.

    Meanwhile, I will also recommend contacting custom post types plugin support to let them know about this as well. Kindly let us know if they can provide any information too about this.

    Kind regards,

    Thread Starter jitka88

    (@jitka88)

    Hi, the configuration is:
    WP core_ 6.0.0
    PHP 7.4.30

    plugins:
    – Custom post types 3.0.11
    – WP User Manager Version 2.8.5
    (rest of the plugins were deactivated)

    It seems these two plugins don’t like each others.

    Do you have any ideas?
    I contacted the second plugin too, but no news from them. I’ll let you know immediately I’ll have some news from them.

    Thank you

    Thread Starter jitka88

    (@jitka88)

    Here is full log from the console (I replaced the URL of my web, otherwise it’s like it was there):

    load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,regenerator-runtime,wp-polyfill,wp-hooks&ver=fee7c19ce667a17946282dee3021a99d:5 JQMIGRATE: Migrate is installed, version 3.3.2
    load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,regenerator-runtime,wp-polyfill,wp-hooks&ver=fee7c19ce667a17946282dee3021a99d:2 jQuery.Deferred exception: $ is not a function TypeError: $ is not a function
        at u (https://aaa-test-aaa.cz/wp-content/plugins/custom-post-types/assets/js/backend.js?ver=fee7c19ce667a17946282dee3021a99d:14:75235)
        at HTMLDocument.<anonymous> (https://aaa-test-aaa.cz/wp-content/plugins/custom-post-types/assets/js/backend.js?ver=fee7c19ce667a17946282dee3021a99d:14:79046)
        at e (https://aaa-test-aaa.cz/wp-admin/load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,regenerator-runtime,wp-polyfill,wp-hooks&ver=fee7c19ce667a17946282dee3021a99d:2:30038)
        at t (https://aaa-test-aaa.cz/wp-admin/load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,regenerator-runtime,wp-polyfill,wp-hooks&ver=fee7c19ce667a17946282dee3021a99d:2:30340) undefined
    S.Deferred.exceptionHook @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,regenerator-runtime,wp-polyfill,wp-hooks&ver=fee7c19ce667a17946282dee3021a99d:2
    load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,regenerator-runtime,wp-polyfill,wp-hooks&ver=fee7c19ce667a17946282dee3021a99d:2 jQuery.Deferred exception: $ is not a function TypeError: $ is not a function
        at HTMLDocument.<anonymous> (https://aaa-test-aaa.cz/wp-content/plugins/custom-post-types/assets/js/backend.js?ver=fee7c19ce667a17946282dee3021a99d:14:79083)
        at e (https://aaa-test-aaa.cz/wp-admin/load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,regenerator-runtime,wp-polyfill,wp-hooks&ver=fee7c19ce667a17946282dee3021a99d:2:30038)
        at t (https://aaa-test-aaa.cz/wp-admin/load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,regenerator-runtime,wp-polyfill,wp-hooks&ver=fee7c19ce667a17946282dee3021a99d:2:30340) undefined
    S.Deferred.exceptionHook @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,regenerator-runtime,wp-polyfill,wp-hooks&ver=fee7c19ce667a17946282dee3021a99d:2
    load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,regenerator-runtime,wp-polyfill,wp-hooks&ver=fee7c19ce667a17946282dee3021a99d:2 jQuery.Deferred exception: $ is not a function TypeError: $ is not a function
        at HTMLDocument.<anonymous> (https://aaa-test-aaa.cz/wp-content/plugins/custom-post-types/assets/js/backend.js?ver=fee7c19ce667a17946282dee3021a99d:14:134030)
        at e (https://aaa-test-aaa.cz/wp-admin/load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,regenerator-runtime,wp-polyfill,wp-hooks&ver=fee7c19ce667a17946282dee3021a99d:2:30038)
        at t (https://aaa-test-aaa.cz/wp-admin/load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,regenerator-runtime,wp-polyfill,wp-hooks&ver=fee7c19ce667a17946282dee3021a99d:2:30340) undefined
    S.Deferred.exceptionHook @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,regenerator-runtime,wp-polyfill,wp-hooks&ver=fee7c19ce667a17946282dee3021a99d:2
    load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,regenerator-runtime,wp-polyfill,wp-hooks&ver=fee7c19ce667a17946282dee3021a99d:2 Uncaught TypeError: $ is not a function
        at u (backend.js?ver=fee7c19ce667a17946282dee3021a99d:14:75235)
        at HTMLDocument.<anonymous> (backend.js?ver=fee7c19ce667a17946282dee3021a99d:14:79046)
        at e (load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,regenerator-runtime,wp-polyfill,wp-hooks&ver=fee7c19ce667a17946282dee3021a99d:2:30038)
        at t (load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,regenerator-runtime,wp-polyfill,wp-hooks&ver=fee7c19ce667a17946282dee3021a99d:2:30340)
    load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,regenerator-runtime,wp-polyfill,wp-hooks&ver=fee7c19ce667a17946282dee3021a99d:2 Uncaught TypeError: $ is not a function
        at HTMLDocument.<anonymous> (backend.js?ver=fee7c19ce667a17946282dee3021a99d:14:79083)
        at e (load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,regenerator-runtime,wp-polyfill,wp-hooks&ver=fee7c19ce667a17946282dee3021a99d:2:30038)
        at t (load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,regenerator-runtime,wp-polyfill,wp-hooks&ver=fee7c19ce667a17946282dee3021a99d:2:30340)
    load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,regenerator-runtime,wp-polyfill,wp-hooks&ver=fee7c19ce667a17946282dee3021a99d:2 Uncaught TypeError: $ is not a function
        at HTMLDocument.<anonymous> (backend.js?ver=fee7c19ce667a17946282dee3021a99d:14:134030)
        at e (load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,regenerator-runtime,wp-polyfill,wp-hooks&ver=fee7c19ce667a17946282dee3021a99d:2:30038)
        at t (load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,regenerator-runtime,wp-polyfill,wp-hooks&ver=fee7c19ce667a17946282dee3021a99d:2:30340)
    backend.js?ver=fee7c19ce667a17946282dee3021a99d:14 Uncaught TypeError: $ is not a function
        at te (backend.js?ver=fee7c19ce667a17946282dee3021a99d:14:130989)
        at backend.js?ver=fee7c19ce667a17946282dee3021a99d:14:131817
        at dispatch (load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,regenerator-runtime,wp-polyfill,wp-hooks&ver=fee7c19ce667a17946282dee3021a99d:2:43064)
        at v.handle (load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,regenerator-runtime,wp-polyfill,wp-hooks&ver=fee7c19ce667a17946282dee3021a99d:2:41048)
    DevTools failed to load source map: Could not load content for https://aaa-test-aaa.cz/wp-content/plugins/wp-user-manager/vendor/htmlburger/carbon-fields/assets/dist/carbon.vendor.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
    DevTools failed to load source map: Could not load content for https://aaa-test-aaa.cz/wp-content/plugins/wp-user-manager/vendor/htmlburger/carbon-fields/assets/dist/carbon.core.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
    DevTools failed to load source map: Could not load content for https://aaa-test-aaa.cz/wp-content/plugins/wp-user-manager/vendor/htmlburger/carbon-fields/assets/dist/carbon.boot.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
    6backend.js?ver=fee7c19ce667a17946282dee3021a99d:14 Uncaught TypeError: $ is not a function
        at te (backend.js?ver=fee7c19ce667a17946282dee3021a99d:14:130989)
        at backend.js?ver=fee7c19ce667a17946282dee3021a99d:14:131817
        at dispatch (load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,regenerator-runtime,wp-polyfill,wp-hooks&ver=fee7c19ce667a17946282dee3021a99d:2:43064)
        at v.handle (load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,regenerator-runtime,wp-polyfill,wp-hooks&ver=fee7c19ce667a17946282dee3021a99d:2:41048)
    te @ backend.js?ver=fee7c19ce667a17946282dee3021a99d:14
    (anonymous) @ backend.js?ver=fee7c19ce667a17946282dee3021a99d:14
    dispatch @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,regenerator-runtime,wp-polyfill,wp-hooks&ver=fee7c19ce667a17946282dee3021a99d:2
    v.handle @ load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,regenerator-runtime,wp-polyfill,wp-hooks&ver=fee7c19ce667a17946282dee3021a99d:2
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘$ is not a function’ is closed to new replies.