• mikk_cz

    (@mikk_cz)


    After upgrading from PHP 5.6 to PHP 7, I am facing an issue, where /?ai1ec_render_js=add_new_event.js&is_backend=true&ver=2.4.0 is being sent with text/html content type header resulting in not being executed in Chrome and the users are not able to create or edit events. The Chrome console output says:
    Refused to execute script from 'https://DOMAIN.TLD/?ai1ec_render_js=add_new_event.js&is_backend=true&ver=2.4.0' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.

    Looks like https://github.com/thenly/all-in-one-event-calendar/issues/689. If you need any additional information about the hosting environment, feel free to let me know.

    https://ww.wp.xz.cn/plugins/all-in-one-event-calendar/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Refused to execute script’ is closed to new replies.