JS/Map error on CPT

This topic contains 11 replies, has 4 voices, and was last updated by  Paolo 8 years, 1 month ago.

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

Open Support Ticket

Tagged: 

  • Author
    Posts
  • #281804

    Jeff
    Buyer
    Post count: 188

    Wondering if anyone has seen this.

    My new client site at: http://www.ultimateselftape.com is not loading the map when I set the Popular Places OR the Latest Places widget to load only my CPT (Studios). When loading the default Places type it’s fine.

    The error in the JS console is: geodir_advanced_search_js_msg is not defined

    If I disable the advanced search I get: geodir_reviewrating_all_js_msg is not defined

    If I disable the review & rating plugin, I get: geodir_show_sub_cat_collapse_button is not defined

    I read elsewhere that this is because wp_footer isn’t called, but changing the post type in a widget shouldn’t be a problem.

    Temp login details in the next post (private).

    #281805

    Jeff
    Buyer
    Post count: 188
    This reply has been marked as private.
    #282033

    Kiran
    Moderator
    Post count: 7069

    Hi Jeff,

    Checked all settings and nothing found any wrong there.
    I also tested by setup test site with same settings, and it worked without any error on my test site.

    Let us provide FTP details, so we can test more to find what causing error there.

    Thanks,
    Kiran

    #282035

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Something is killing the page before it fully loads, the answer should be in the error logs.
    Is everything upto date? As Kiran says, with FTP we should be able to get to the bottom of it.

    Thanks,

    Stiofan

    #282264

    Jeff
    Buyer
    Post count: 188

    I’ll set up FTP for you guys shortly.

    Stiofan: Everything is freshly installed and updated and there are is nothing else running on this machine.

    As per my other issue, I did find that mod_rewrite wasn’t enabled by default, so it’s possible that something else is missing, but it’s odd that a change to a widget would break something.

    #282547

    Jeff
    Buyer
    Post count: 188
    This reply has been marked as private.
    #282670

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    #282672

    Jeff
    Buyer
    Post count: 188
    This reply has been marked as private.
    #282680

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    #282767

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Jeff,

    I know you know your way around code, if file permissions thing is a pain all we are going to do is edit wp-config.php and add these lines in the debug section (be sure to comment out the line turning it off)
    define(‘WP_DEBUG’, true);
    define( ‘WP_DEBUG_LOG’, true );
    define( ‘WP_DEBUG_DISPLAY’, true );

    Then visit that page and view the source, you will likely see the error in the page source, my guess is its a php lib that is missing, if the error is not shown there then it will be in the log file wp-content/debug.log . If you let us know the error we can help, though it might point you in the right direction yourself.

    Thanks,

    Stiofan

    #283182

    Jeff
    Buyer
    Post count: 188

    Thanks Stiofan, I haven’t been doing a lot of WP lately and clearly my debug skills are lost.

    My server (php7) didn’t have the MultiByte string support enabled, so mb_strpos was throwing an undefined function error.

    Something to be aware of for others too!

    #283185

    Paolo
    Site Admin
    Post count: 31206

    Cool, thanks for letting us know! 🙂

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

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

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount