• I noticed that after the update to WP 5.5 and installing the Enable Jquery Migrate Helper plugin the following script is shown to use deprecated syntax:

    qubely/assets/js/common-script.min.js: ‘ready’ event is deprecated

    You might want to update this.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Just wonder will you update this?

    Hello @bitpicker,
    We apologize for the difficulties the plugin is causing for you. We are happy to help. We would like some more information as this can help us troubleshoot and rule out or in possible issues.

    1. We had another recent release. Can you confirm you are using the most recent Qubely? If you update, does the issue resolve?

    2. Are all your non-Qubely plugins and themes also updated?

    3. If you briefly deactivate Qubely does the issue still happen? Doing so will not hurt the JS of the site.

    If all are updated, it seems like it is a conflict. If the issue only happens when Qubely is enabled, please check for conflicts.

    NOTE: This will not affect how users see your site.

    Thanks

    Thread Starter Bitpicker

    (@bitpicker)

    I am using the most recent free version, 1.5.5 updated 28 days ago. I have ten licenses for Pro, but this site does not need any yet, so I am currently saving them for later projects.

    The error is discovered by the JQuery Migrate Helper plugin for WP 5.5 immediately in the backend, so it should be easy to replicate.

    I actually changed the code myself already, but updates overwrite the change. The script common-script.min.js from your assets directory uses the “ready” event twice. The first time right at the beginning:

    jQuery(document).ready(function(e)

    Replace this with: jQuery(function(e)

    Then, later (quoting some more surrounding code):

    jQuery.fn.parallax&&e(document).ready(function(){e(".qubely-row-parallax").each(function(){e(this).parallax("center",.4)})}),e(document).on("ready",function(){e(".qubely-block-pie-progress")

    Correct:
    jQuery.fn.parallax&&e(function(){e(".qubely-row-parallax").each(function(){e(this).parallax("center",.4)})}),e(function(){e(".qubely-block-pie-progress")

    At least I suppose that this doesn’t break the functionality, I didn’t notice anything. It does solve the problem and no further error is displayed.

    Hello @bitpicker,
    Thank you so much for your reply. We will check this issue and try to fix this issue as soon as possible.

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘JS Error in WP 5.5’ is closed to new replies.