• Resolved webmaxter80

    (@webmaxter80)


    Hello, I need help with UM plugin.
    Into “Link to the page you need help with:” I add link about page with issue to fix: how You can see in this page there is nothing (when in other pages like this one – for example https://www.expositio.it/user/annamaria-bellutti/ – there are all the artworks about that artist); every artist page should have all the artworks about that artist (every artwork is uploading like a product).
    If You navigate into this page:
    https://www.expositio.it/artisti/
    You could see all the artists into website and, clicking on everyone of them, You will be redirected to the page relating to that artist; on this page there should be all the artist’s works on display but, as You can see, in some pages they are present while in others they are not …
    I do not understand how it is possible that some pages are ok and others are not, when the procedure for viewing is the same for all the artworks of the artists.
    Is there someone that could help me please?
    I can share a temporary login without password to check the problem and fix it.
    Thanks to anyone.

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

Viewing 15 replies - 1 through 15 (of 37 total)
  • @webmaxter80

    You have Javascript errors on all these pages from another plugin “WP User Frontend”:

    /plugins/wp-user-frontend-pro/assets/js/jquery-ui-timepicker-addon.js

    Error messages are:

    jquery-ui-timepicker-addon.js:20 Uncaught TypeError: Cannot read property 'timepicker' of undefined
        at jquery-ui-timepicker-addon.js:20
        at jquery-ui-timepicker-addon.js:1919
    (anonymous) @ jquery-ui-timepicker-addon.js:20
    (anonymous) @ jquery-ui-timepicker-addon.js:1919
    (index):110 Uncaught TypeError: $ is not a function at (index):110
    (anonymous) @ (index):110
    (index):666 Uncaught TypeError: Cannot set property 'innerHTML' of null at (index):666
    (anonymous) @ (index):666
    (index):666 Uncaught TypeError: $ is not a function at (index):666

    Can you deactivate this plugin and see if the issue is solved?

    Thread Starter webmaxter80

    (@webmaxter80)

    Hello Veronica, thanks for Your reply.
    Yes, I deactivate WP User Fronted plugin but issue are not fixed … I think is not a WP User Frontend plugin problem because, if this plugin should be the problem, no artworks will be visible, in every artist page; instead some artists have their works while others don’t … the error that pointed out to me I don’t think influences on the visualization of the artworks otherwise no artist would have their works in their profile, which instead happens in many of them.
    Thanks.

    @webmaxter80

    You must deactivate the LiteSpeed caching when testing the issue.

    Page generated by LiteSpeed Cache 4.3 on 2021-08-30 17:12:42

    Can you keep the “WP User Frontend” plugin deactivated so I can see the result without caching.

    Thread Starter webmaxter80

    (@webmaxter80)

    Hi Veronica, I deactivated WP User Frontend and LS Cache plugins … try to see results.
    Thanks.

    @webmaxter80

    Thanks.

    Yes the jquery-ui-timepicker-addon.js errors are gone with the deactivation
    but the last three Javascript errors are still there.

    (index):110 Uncaught TypeError: $ is not a function at (index):110
    (anonymous) @ (index):110
    (index):666 Uncaught TypeError: Cannot set property 'innerHTML' of null at (index):666
    (anonymous) @ (index):666
    (index):666 Uncaught TypeError: $ is not a function at (index):666

    Do you have the “W3 Total Cache” plugin active also?

    • This reply was modified 3 years, 6 months ago by missveronica.
    Thread Starter webmaxter80

    (@webmaxter80)

    Hi Veronica, I do not have W3 Total Cache plugin … I just have WP Optimize minify cache active.
    Thanks.

    @webmaxter80

    Yes that’s possible too.
    Please deactivate the “WP Optimize” plugin also.

    Thread Starter webmaxter80

    (@webmaxter80)

    Hi Veronica, I deactivated WP Optimize plugin.
    Thanks.

    Thanks.

    The three remainng Javascript errors are from Javascript code added in the HTML.
    None of them from UM core.

    You may be familiar with the source of these code snippets giving you the Javascript errors:

    	<script>
    	    $('input:search').attr('placeholder','Some New Text');
    	</script>
     <script type="text/javascript">
    
           document.querySelector('.woocommerce-page .button.filter-button').innerHTML = 'Filtra';
           document.querySelector('.woocommerce-page .button.alt.reset-button').innerHTML = 'Resetta Filtri';
           
           document.querySelector('.woocommerce-page . product_cat.filter .select2-selection__rendered').innerHTML = 'Seleziona Categoria';
           document.querySelector('.woocommerce-page .products_group.filter .select2-selection__rendered').innerHTML = 'Tutti i prodotti';
     
        </script>
        <script>
            $("strong:contains('Post rimanenti:')").css("display","none");
        </script>
    • This reply was modified 3 years, 6 months ago by missveronica.
    Thread Starter webmaxter80

    (@webmaxter80)

    Hi Veronica, in which pages/files are this code? Could You send me path about them?
    Thanks.

    @webmaxter80

    You are using the “Optimole” plugin for caching of your images.

    https://www.ads-software.com/plugins/optimole-wp/

    Can you deactivate this plugin also?

    Thread Starter webmaxter80

    (@webmaxter80)

    Hi Veronica, I can deactivate all this plugins but they needed to website to works … My question is: why this problem is on page X and not on page Y? When there is a problem on a website, there is for all website, not for a part of it.
    Otherwise tomorrow I deactivate Optimole plugin too, to check issue to fix.
    Thanks.

    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @webmaxter80

    Did you add those scripts manually? UM doesn’t have those scripts added to pages. Can you please try deactivating each plugin and see if which plugin is causing the javascript error?

    This doc explains how to do a conflict test if you are not sure: How to do a plugin/theme conflict test?

    Regards,

    Thread Starter webmaxter80

    (@webmaxter80)

    Hello:
    – this one
    <script>
    $(‘input:search’).attr(‘placeholder’,’Some New Text’);
    </script>
    is not added by me;
    – this one
    <script type=”text/javascript”>
    document.querySelector(‘.woocommerce-page .button.filter-button’).innerHTML = ‘Filtra’;
    document.querySelector(‘.woocommerce-page .button.alt.reset-button’).innerHTML = ‘Resetta Filtri’;
    document.querySelector(‘.woocommerce-page . product_cat.filter .select2-selection__rendered’).innerHTML = ‘Seleziona Categoria’;
    document.querySelector(‘.woocommerce-page .products_group.filter .select2-selection__rendered’).innerHTML = ‘Tutti i prodotti’;
    </script>
    I think was about Loco Translate;
    – this one
    <script>
    $(“strong:contains(‘Post rimanenti:’)”).css(“display”,”none”);
    </script>
    was added by me to hide text from user profile.

Viewing 15 replies - 1 through 15 (of 37 total)
  • The topic ‘UM Directories’ is closed to new replies.