• Sharon

    (@prettybiddy)


    On this page the sort by: has suddenly stopped working. I am using a customized property-overview.php file which I upload under the theme directory (which shows the fields shown for each property). The Sort By: stopped doing anything. In developer tools (Chrome) there are 2 JavaScript errors (shown below). I removed the custom property-overview.php from under the theme directory and the JavaScript errors remain and the sort continues to not work.

    jquery.address-1.5.js:343 Uncaught TypeError: Cannot read property ‘version’ of undefined
    at jquery.address-1.5.js:343
    at jquery.address-1.5.js:647
    at jquery.address-1.5.js:683

    property_overview.js?ver=5.5:561 Uncaught TypeError: Cannot read property ‘change’ of undefined
    at HTMLDocument.<anonymous> (property_overview.js?ver=5.5:561)
    at i (jquery.js?ver=1.12.4-wp:2)
    at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4-wp:2)
    at Function.ready (jquery.js?ver=1.12.4-wp:2)
    at HTMLDocument.J (jquery.js?ver=1.12.4-wp:2)

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter Sharon

    (@prettybiddy)

    I just removed sorting options altogether as maybe this plugin isn’t being supported any more. Still JS errors on property pages though.

    Uncaught TypeError: Cannot read property ‘msie’ of undefined
    at jquery.fancybox-1.3.4.pack.js?ver=1.7.3:18
    at jquery.fancybox-1.3.4.pack.js?ver=1.7.3:46
    jquery.address-1.5.js?ver=5.5:343
    Uncaught TypeError: Cannot read property ‘version’ of undefined
    at jquery.address-1.5.js?ver=5.5:343
    at jquery.address-1.5.js?ver=5.5:647
    at jquery.address-1.5.js?ver=5.5:683
    (index):464 Object
    property_overview.js?ver=5.5:561
    Uncaught TypeError: Cannot read property ‘change’ of undefined
    at HTMLDocument.<anonymous> (property_overview.js?ver=5.5:561)
    at i (jquery.js?ver=1.12.4-wp:2)
    at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4-wp:2)
    at Function.ready (jquery.js?ver=1.12.4-wp:2)
    at HTMLDocument.J (jquery.js?ver=1.12.4-wp:2)

    I’m not a support person for this plugin, but I found the same issues as you. They are all related to the fact that the current release of the plugin is not compatible with WordPress 5.5.

    I downgraded my installation of WordPress to 5.4.2 using the WP Downgrade plugin and all of the sort, pagination, etc., all started working normally again. Of course, you should make certain you have a full backup of your site before doing any downgrade and your mileage may vary with success of the downgrade.

    Until they release a version that is compatible with WordPress 5.5, staying on the 5.4.x release is the only real solution.

    Thread Starter Sharon

    (@prettybiddy)

    Thanks for letting me know that the plugin still works with WordPress 5.4.2. I removed the sort options which weren’t critical for the page (but probably for many others it is critical) and showed 1 big non-paginated list sorted in reverse menu order (newest first). Though there are JavaScript errors under WordPress 5.5 everything ‘appears’ normal.

    You are very welcome. I definitely found other things broken, like the admin, so anything that depends on the JavaScript functionality of the plugin is probably not working properly or at all.

    JavaScript errors can also have an adverse affect on other site functionality. Hopefully the dev’s will get a working solution soon for WordPress 5.5

    Thread Starter Sharon

    (@prettybiddy)

    Hopefully the developers are working on making it compatible with WordPress 5.5.

    Thank you for the heads up on this. I downgraded to 5.4.2 and pagination and sorting are back. Going to send WP-Property a note. They told me earlier they have no abandoned the project.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Sort By: Stopped Working – Javascript errors on page’ is closed to new replies.