Share this script error

This topic contains 8 replies, has 3 voices, and was last updated by  Stiofan O’Connor 7 years, 6 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #294603

    alexi84
    Expired Member
    Post count: 38

    Hi,

    I am getting a JavaScript error “Can’t find variable: stWidget” and the share this button doesn’t display on listing details page. The script was working fine but stopped working recently.

    Any ideas why this error occurs?

    #295218

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    we’ll need a link and admin credentials to have a look. Difficult to tell without checking directly.

    let us know,

    Thanks

    #297140

    alexi84
    Expired Member
    Post count: 38
    This reply has been marked as private.
    #297497

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    please go to Design >> Details and disable the share this section for the moment.

    The developers are alerted.

    Let us know if that was it,

    Thanks

    #297567

    alexi84
    Expired Member
    Post count: 38

    Okay, I have disabled share this for now. The date issue is still there. Can you advise what the issue is? If you search for “Deals” and select a date in the filters on the sidebar it shows as “Y-11-24” instead of “2016-11-24” and the search doesn’t work. This was working as well before the new GeoDirectory release. But if you search for “Events” the date works fine.

    Please see the attached screenshot.

    #297618

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    I see a jQuery error:

    
    
    
    TypeError: jQuery(...).datepicker is not a function
    	
    
    jQuery( ".venue123_inq_date" ).datepicker();

    Can you please update all outdated GD add-ons and see if that goes away with it?

    Let us know,

    Thanks

    #299752

    alexi84
    Expired Member
    Post count: 38

    Hi Paolo,

    I have updated all GeoDirectory plugins. The jQuery( “.venue123_inq_date” ).datepicker(); is in a try…catch statement and shouldn’t affect the dates on the filter inputs since it’s not throwing an error but rather being logged using console.log(). The same log shows in the Events page but on the Events page the date picker in the filter works without a problem.

    Also, if you click on the “Email” checkbox on any listing and then click on “Email my selected listings” you’ll see there’s a date field there which doesn’t have the same issue as the one on the sidebar.

    Like I said, this fields were working fine until only recently.

    Please let me know if you understand what I mean.

    #300247

    Paolo
    Site Admin
    Post count: 31206

    unfortunately I do not, but I’m sure Stiofan will be able to assist.

    Thank for your patience,

    #300627

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Please make sure everything is up to date, for example your advanced search is out of date, you might be having this problem: https://wpgeodirectory.com/support/topic/missing-update-notifications/

    Thanks,

    Stiofan

Viewing 9 posts - 1 through 9 (of 9 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket