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 TicketTagged: 502, GeoDirectory bug
-
AuthorPosts
-
May 23, 2019 at 8:58 pm #488469
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.May 23, 2019 at 10:01 pm #488483As 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}
thrownMay 24, 2019 at 12:40 am #488518Thanks for reporting. If you could share WP Admin + FTP credentials we can take a look and find a solution.
May 24, 2019 at 1:43 am #488540This reply has been marked as private.May 24, 2019 at 10:14 am #488595This reply has been marked as private.May 24, 2019 at 2:35 pm #488652This reply has been marked as private.May 25, 2019 at 12:30 am #488782This reply has been marked as private.May 26, 2019 at 12:33 am #488946This reply has been marked as private.May 26, 2019 at 9:05 am #488994Hello,
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
May 26, 2019 at 9:07 am #488999If 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
May 26, 2019 at 8:05 pm #489074This reply has been marked as private.May 26, 2019 at 9:28 pm #489084This reply has been marked as private.May 28, 2019 at 3:34 pm #489511Hi 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_locations2. 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.
May 28, 2019 at 5:20 pm #489560This reply has been marked as private.May 28, 2019 at 5:23 pm #489561This reply has been marked as private. -
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket