Geo Directory causes 502 Error

This topic contains 19 replies, has 5 voices, and was last updated by  Alex Rollin 5 years, 6 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #488469

    CLARK NEWHALL
    Expired Member
    Post count: 22

    Since the upgrade of WP to 5.2.1. there appears to be a conflict with the GeoDirectory which causes a 502 error stopping the site appearing. The WP dashboard does still work but disabling the dashboard results in most associated plugins to fail to load so it is impossible to use the plugin.
    Hopefully you can find the cause and issue an update as soon as possible.

    #488483

    CLARK NEWHALL
    Expired Member
    Post count: 22

    As a follow-up to this please see this report from WP:-
    Error Details
    =============
    An error of type E_ERROR was caused in line 50 of the file /home/s391/html/wp-content/plugins/geodirectory_dashboard/includes/class-count.php. Error message: Uncaught Error: Call to undefined function geodir_manage_location_get_list() in /home/s391/html/wp-content/plugins/geodirectory_dashboard/includes/class-count.php:50
    Stack trace:
    #0 /home/s391/html/wp-content/plugins/geodirectory_dashboard/includes/class-pages.php(150): GD_Dashboard_Count->get_location_count()
    #1 /home/s391/html/wp-content/plugins/geodirectory_dashboard/includes/class-pages.php(30): GD_Dashboard_Pages->get_home_stats()
    #2 /home/s391/html/wp-includes/class-wp-hook.php(286): GD_Dashboard_Pages->geodir_dashboard_index_page(”)
    #3 /home/s391/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array)
    #4 /home/s391/html/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
    #5 /home/s391/html/wp-admin/admin.php(253): do_action(‘dashboard_page_…’)
    #6 /home/s391/html/wp-admin/index.php(10): require_once(‘/home/s391/html…’)
    #7 {main}
    thrown

    #488518

    Alex Rollin
    Moderator
    Post count: 27815

    Thanks for reporting. If you could share WP Admin + FTP credentials we can take a look and find a solution.

    #488540

    CLARK NEWHALL
    Expired Member
    Post count: 22
    This reply has been marked as private.
    #488595

    Kor
    Moderator
    Post count: 16516
    This reply has been marked as private.
    #488652

    CLARK NEWHALL
    Expired Member
    Post count: 22
    This reply has been marked as private.
    #488782

    CLARK NEWHALL
    Expired Member
    Post count: 22
    This reply has been marked as private.
    #488946

    CLARK NEWHALL
    Expired Member
    Post count: 22
    This reply has been marked as private.
    #488994

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hello,

    The dashboard addon is now built into GDv2 so is not needed or compatible with GDv2. Also the GD affiliatewp addon is no longer used for GDv2, that is now an addon for WP Invoicing.

    Try disabling those two and let us know how u get on.

    Thabks,

    Stiofan

    #488999

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    If you are seeing messages about GD not being installed it migh be that the plugin folder is wrong, it must be exactly “geodirectory” for the WP active plugin check.

    Stiofan

    #489074

    CLARK NEWHALL
    Expired Member
    Post count: 22
    This reply has been marked as private.
    #489084

    CLARK NEWHALL
    Expired Member
    Post count: 22
    This reply has been marked as private.
    #489511

    Naveen Giri
    Moderator
    Post count: 1559

    Hi CLARK,

    I saw the issue on your site. the issue cause by wrong setup.

    1. 502 issue

    Geodirectory related pages are being used as templates in Geodirectory. so they can’t be set as homepage or so.

    We have already disabled the selection for those default GD pages.( check attachment )
    In your site the GD location page was set as homepage.
    So that causing the 502 issue.

    I have just changed the homepage to sample page and everything working perfect.

    I will see if i can reproduce such casee

    If you want to show something specific on homepage then you can use Geodirectory shortcodes
    https://wpgeodirectory.com/docs-v2/geodirectory/shortcode-builder/
    https://wpgeodirectory.com/docs-v2/geodirectory/design-elements/#gd_locations

    2. About map issue, I just done 2 dummy places entry from setup wizard and you can see map looks allright
    https://gopuertoplata.com/location/
    so may the listing you entered seems have some data problem.

    I will also suggest to use setup wizard while doing Geodirectory setup. It helps to avoid common issues.

    #489560

    CLARK NEWHALL
    Expired Member
    Post count: 22
    This reply has been marked as private.
    #489561

    CLARK NEWHALL
    Expired Member
    Post count: 22
    This reply has been marked as private.
Viewing 15 posts - 1 through 15 (of 20 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