Take your website
To the next level
Discover our newly launched customization services and elevate your web projects to new heights.
Delegate tasks, save time, and unlock the power of professional WordPress outsourcing.

Okay
  Public Ticket #2515293
Problem update WP 5.5
Closed

Comments

  • genis started the conversation

    Hello


    I'm having problems when editing pages and I think that is related that WP 5.5 doesn't suport .live function and the theme is using it.

    I updated to WP 5.5

    When I try to edit a page the editor (WPbakery)  becomes irresponsible without showing the page in the editor. And if I look at the chrome JS console I get the following error:

    Uncaught TypeError: $(...).live is not a function
        at HTMLDocument.<anonymous> (data-select.js?ver=46641ad686718ae37ba5e25e352de705:5)
        at i (load-scripts.php?c=0&load[chunk_0]=jquery,utils&ver=46641ad686718ae37ba5e25e352de705:2)
        at Object.fireWith [as resolveWith] (load-scripts.php?c=0&load[chunk_0]=jquery,utils&ver=46641ad686718ae37ba5e25e352de705:2)
        at Function.ready (load-scripts.php?c=0&load[chunk_0]=jquery,utils&ver=46641ad686718ae37ba5e25e352de705:2)
        at HTMLDocument.J (load-scripts.php?c=0&load[chunk_0]=jquery,utils&ver=46641ad686718ae37ba5e25e352de705:2)

    Is this related to the theme that is not using the same jquery version commands?

    I can't edit any page after the update. 

    Can you help me.

    Thanks for your help.


    Genís


  •  7,092
    Oliver replied

    Hi,

    pls. provide wp-admin and FTP access.

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver

  •   genis replied privately
  •  7,092
    Oliver replied

    Hi,

    Sorry for delay, can you update theme? New theme in attach 

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver

  •   genis replied privately
  •  7,092
    Oliver replied

    Hi,

    Do you have caching enabled?

    take a look to the theme files and files on the server:

    $('input.picture-select + button, input.video-select + button').live('click', function(event) {
    

    Should be:

    $(document).on('click', 'input.picture-select + button, input.video-select + button', function(event) {
    

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver

  • genis replied

    Hi Greg

    I imagine that you will be aware, but found this link that I think is related https://wordpress.org/support/topic/wordpress-5-5-compatibility/

    Hope this helps,

    Genís

  •   genis replied privately
  • genis replied

    Hi Greg,


    I found the problem, php-fpm wasn't updating the code and probably the extraction using unzip failed. Redo it everything and now is working fine and loading the pages with the admin correct .

    Thanks for your help

    Genís

  •  7,092
    Oliver replied

    Hi,

    Ok, thank you for letting know.

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver