{"id":295,"date":"2018-09-13T12:14:15","date_gmt":"2018-09-13T12:14:15","guid":{"rendered":"https:\/\/wpgeodirectory.com\/docs-v2\/faq\/troubleshooting\/"},"modified":"2020-02-19T06:10:37","modified_gmt":"2020-02-19T06:10:37","slug":"troubleshooting","status":"publish","type":"docs","link":"https:\/\/wpgeodirectory.com\/docs-v2\/faq\/troubleshooting\/","title":{"rendered":"Troubleshooting"},"content":{"rendered":"<p><span class=\"bookmark-index\"><br \/>\n<a href=\"#intro\">Introduction<\/a><br \/>\n<a href=\"#conflict-test\">Conflict Test<\/a><br \/>\n<a href=\"#known-issues\">Known Issues<\/a><br \/>\n<a href=\"#faq\">FAQ &#8211; Frequently Asked Questions<\/a><br \/>\n<\/span><\/p>\n<h3><a href=\"#intro\" name=\"intro\">Introduction<\/a><\/h3>\n<h4><a href=\"#images\" name=\"images\">Image Upload Issues<\/a><\/h4>\n<p>We have a guide for isolating image upload issues here: <a href=\"https:\/\/wpgeodirectory.com\/docs-v2\/integrations\/images\/#troubleshooting\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/wpgeodirectory.com\/docs-v2\/integrations\/images\/#troubleshooting<\/a><\/p>\n<h4><a href=\"#conflict-test\" name=\"conflict-test\">Conflict Test<\/a><\/h4>\n<p>You can review a list of <a href=\"#known-issues\">known issue<\/a> here, but if your issue isn&#8217;t listed, then proceed with the conflict test here.<\/p>\n<p>The test:<\/p>\n<ol>\n<li>Identify the &#8216;problem page&#8217; where the issue can be seen, and leave this open in a browser tab.<\/li>\n<li>In another browser tab, open up the plugins page &#8211; <strong>WordPress &#8211; Plugins<\/strong>.<\/li>\n<li>Deactivate all non-GD plugins.<\/li>\n<li>In &#8216;problem page&#8217; tab, refresh and verify if the issue is still present.<\/li>\n<\/ol>\n<p>If you have a lot of plugins running on your site, here is a priority ordering:<\/p>\n<ol>\n<li>Cache related plugins. (Good idea to leave cache related plugins disabled while doing any work on the site.)<\/li>\n<li>Page builder plugins (Divi).<\/li>\n<li>Plugins with &#8216;heavy&#8217; javascript or those that alter the page output.<\/li>\n<li>Plugins that are listed in errors in the chrome inspector.<\/li>\n<li>Plugins that are listed in errors in the chrome inspector.<\/li>\n<\/ol>\n<p>Last but not least, try switching themes. Switch to a theme like twentyseventeen (default) to see if the issue is still present.<\/p>\n<p><strong>Advanced<\/strong>: It is also possible to disable all plugins via FTP. This can be &#8216;faster&#8217; but requires care and precision. <a href=\"http:\/\/www.wpbeginner.com\/plugins\/how-to-deactivate-all-plugins-when-not-able-to-access-wp-admin\/\" target=\"_blank\" rel=\"noopener noreferrer\">See this tut for more info.<\/a><\/p>\n<h4><a href=\"#blank\" name=\"blank\">Blank Pages or Layout Issues<\/a><\/h4>\n<p>GDV2 uses WP Pages as templates where you can adjust blocks to setup how you want GD content to appear on the page.<\/p>\n<p>If your pages are showing up blank, here are a couple of things you can try.<\/p>\n<ul>\n<li>Change the page template, try all of the page templates available<\/li>\n<li>Override the template with the settings at WordPress Admin &#8211; GeoDirectory &#8211; Settings &#8211; Design &#8211; Archives (template override) or Details (template override)<\/li>\n<li>Switch themes to twentyseventeen to test output of the problem pages and test with new theme template output<\/li>\n<\/ul>\n<h4><a href=\"#revisions\" name=\"revisions\">Listing info won&#8217;t save on first attempt, but will save on second attempt<\/a><\/h4>\n<p>If you see that you cannot save a listing the first time, but can save it the second time, try commenting out the revisions option in your wp-config.php file.<\/p>\n<p>You will need to connect to your server by FTP to edit the file. If your host does not allow you to edit your wp-config file, contact them about revisions. (<a href=\"https:\/\/www.wpbeginner.com\/beginners-guide\/how-to-edit-wp-config-php-file-in-wordpress\/\" target=\"_blank\" rel=\"noopener noreferrer\">Read more<\/a>)<\/p>\n<p>Comment out the following line<\/p>\n<pre><code class='php'>\r\ndefine( 'WP_POST_REVISIONS', 5 );\r\n<\/code><\/pre>\n<h3><a href=\"#known-issues\" name=\"known-issues\">Known Issues<\/a><\/h3>\n<p>We do our very best to make sure that GeoDirectory &#8216;just works&#8217; but there are some known conflicts with other plugins. If you are having trouble on your site, you can look through this list to see if any of the plugins or themes are used on your site.<\/p>\n<h4>Plugins<\/h4>\n<ol>\n<li><a href=\"#bp\">BuddyPress<\/a><\/li>\n<li>GDPR Cookie Consent<\/li>\n<li><a href=\"#jetpack\">Jetpack<\/a><\/li>\n<li><a href=\"#wpsso\">WPSSO<\/a><\/li>\n<\/ol>\n<h4>Themes<\/h4>\n<ol>\n<li><a href=\"#divi\">Divi<\/a><\/li>\n<\/ol>\n<h5>Plugins<\/h5>\n<p><a href=\"#antispam-bee\" name=\"anti-spam-bee\">Anti-Spam Bee<\/a><br \/>\nAntispam bee will prevent submissions of review forms when activated.<br \/>\n<a href=\"#bp\" name=\"bp\">BuddyPress<\/a><br \/>\n&#8211; Search page being redirected &#8211; Since BP 3.2 the Search page URL\/slug for GD Pages -&gt; Search cannot be &#8220;search&#8221; if BP is installed. This url is reserved for BuddyPress. To fix, change the search page slug to something besides &#8216;search&#8217;.<br \/>\n<strong>BuddyPress User Profile Tabs Creator Pro<\/strong><\/p>\n<pre><code class='php'>\r\nfunction gd_conflict_sd_bp_profile_tabs() {\r\nif ( class_exists( 'BPPTC_Profile_Tabs_Pro' ) &amp;amp;amp;amp;&amp;amp;amp;amp; ( isset( $_GET['post_type'] ) || isset( $_GET['post'] ) ) &amp;amp;amp;amp;&amp;amp;amp;amp; is_admin() ) {\r\n$post_type = isset( $_GET['post_type'] ) ? $_GET['post_type'] : get_post_type( $_GET['post'] );\r\n\r\nif ( $post_type == 'bpptc_profile_tab' ) {\r\nglobal $sd_widget_scripts;\r\n\r\n$sd_widget_scripts = true;\r\n}\r\n}\r\n}\r\nadd_action( 'widgets_init', 'gd_conflict_sd_bp_profile_tabs', 0 );\r\n<\/code><\/pre>\n<p>GDPR Cookie Consent<\/p>\n<p>Uncheck the setting at <strong>GDPR Cookie Consent &gt; Script Blocker &gt; Google maps &gt; Disable<\/strong><br \/>\n<a href=\"#jetpack\">Jetpack<\/a><br \/>\nJetpack offers a search feature, but, it conflicts with GDV2&#8217;s search. <a href=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/jetpack-search.jpg\" target=\"_blank\" rel=\"noopener noreferrer\">See an image of the setting here<\/a>.<br \/>\nJetPack offers a &#8220;Related Posts&#8221; feature but it may have unintended effects on your GD CPT layouts unless you remove it from automatic display and instead include it where you want with a shortcode as described <a href=\"https:\/\/jetpack.com\/support\/related-posts\/customize-related-posts\/\" target=\"_blank\" rel=\"noopener noreferrer\">here<\/a>.<br \/>\nJetpack offers a mobile theme but it is not compatible with GDV2 templates.<\/p>\n<p><a href=\"#wpsso\" name=\"wpsso\">WPSSO<\/a><br \/>\nThe following setting interferes with the Loop that GD uses to show listings on Archive pages.<br \/>\nDisable the option in WordPress Backend &gt; SSO Pro &gt; Advanced &gt; Content &amp; Filters &gt; Use WordPress Content Filters &gt; Untick.<\/p>\n<h5>Themes<\/h5>\n<p><a href=\"#divi\">Divi<\/a><br \/>\nDivi can be configured to load Google Maps. Users may see a broken page and JS Console error \u201cgoogle.maps.places is undefined\u201d.<\/p>\n<p>Disable Divi&#8217;s loading of Google Maps in WP Admin &gt; Divi &gt; Theme Options &gt; General &gt; Enqueue Google Maps Script<\/p>\n<h3><a href=\"#missing\" name=\"missing\">Missing License Fields or Error in Activating License<\/a><\/h3>\n<p>If you have already activated WP Easy Updates and the license links on the GD Addons are not visible, you can use the instructions to force them into visibility.<\/p>\n<p>These are instructions for creating a &#8220;Must Use&#8221; plugin. &#8220;Must Use&#8221; Plugins are special WordPress plugins that get placed into a special folder to be loaded before other plugins. (See: <a href=\"https:\/\/codex.wordpress.org\/Must_Use_Plugins\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/codex.wordpress.org\/Must_Use_Plugins<\/a> )<\/p>\n<ol>\n<li>Open a text editor and create a new file called &#8220;gd-licensing-plugin.php&#8221;.<\/li>\n<li>Copy and paste the php code below, and save.<\/li>\n<li>Connect to your site via FTP.<\/li>\n<li>Navigate to the folder &#8220;wp-content\/mu-plugin&#8221;<\/li>\n<li>Upload gd-licensing-plugin.php so it is at: &#8220;wp-content\/mu-plugin\/gd-licensing-plugin.php&#8221;<\/li>\n<li>Go to your site&#8217;s plugins page and check for licensing.<\/li>\n<li>If there is still no licensing links, <a href=\"#support\">get support<\/a>.<\/li>\n<\/ol>\n<pre><code>\r\n<?php\r\n\/**\r\n * Plugin Name: WP Easy Updates missing Licence key &amp;amp;amp;amp; Notifications\r\n * Plugin URI: https:\/\/wpeasyupdates.com\/\r\n * Description: Fix missing licence key option &amp;amp;amp;amp; update notifications for WP Easy Updates plugin.\r\n * Version: 1.0.0\r\n * Author: AyeCode Ltd\r\n * Author URI: https:\/\/ayecode.io\/\r\n * License: GPL-2.0+\r\n * License: GNU General Public License v3 or later\r\n * License URI: http:\/\/www.gnu.org\/licenses\/gpl-2.0.txt\r\n * Requires at least: 3.1\r\n * Tested up to: 5.0.3\r\n *\/\r\n\r\nfunction wp_easy_updates_fix_notifications( $headers = array() ) {\r\n    $headers_extra = array(\r\n        'UpdateURL' => 'Update URL',\r\n        'UpdateID' => 'Update ID',\r\n    );\r\n\r\n    $all_headers = array_merge( $headers_extra, (array) $headers );\r\n\r\n    return $all_headers;\r\n}\r\nadd_filter( 'extra_plugin_headers', 'wp_easy_updates_fix_notifications' );\r\n<\/code><\/pre>\n<h3><a href=\"#faq\" name=\"faq\">FAQ &#8211; Frequently Asked Questions<\/a><\/h3>\n<blockquote><p><a href=\"#slow\" name=\"slow\">When I tested my site on X (Pagespeed, Other tool, etc) my site is slow. Can you take a look?<\/a><\/p><\/blockquote>\n<p>When performance issues arise that are created by the plugin we do everything we can to address them at the plugin level, but in most cases the only issue we can really recommend a solution for is slow server response, for which the remedy is to increase server resources. To make the point you can try the following test and look for &#8220;Reduce server response time&#8221;.<\/p>\n<p><a href=\"https:\/\/www.dotcom-tools.com\/website-speed-test.aspx\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/www.dotcom-tools.com\/website-speed-test.aspx<\/a><\/p>\n<p>Other tools may recommend making changes to loading order of scripts but in most cases, if you examine the same site, they will exhibit the same issues. For developers who want to dequeue scripts, for which we do not provide support, you can find an example <a href=\"https:\/\/wpgeodirectory.com\/docs\/common-code-snippets\/#remove-gd-scripts\" target=\"_blank\" rel=\"noopener noreferrer\">here<\/a>.<\/p>\n<blockquote><p><a href=\"#error\" name=\"error\">What about this error I got?<\/a><\/p><\/blockquote>\n<p>You may need to do some troubleshooting when you run up against some of the more common server or WordPress errors. Check below for some hints or consider contacting a GD expert at <a href=\"https:\/\/geodirectoryexperts.com\/experts\/\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/geodirectoryexperts.com\/experts\/<\/a><\/p>\n<p><strong><a href=\"#enable-debugging\" name=\"enable-debugging\">Enable debugging<\/a><\/strong><br \/>\nTurning on debugging &#8211; login to your site through FTP, open the wp-config.php and add the following lines above the &#8220;Multisite&#8221; section.<\/p>\n<pre><code>\r\ndefine( 'WP_DEBUG', true );\r\ndefine( 'WP_DEBUG_LOG', true );\r\ndefine( 'WP_DEBUG_DISPLAY', false );\r\n\r\n@ini_set( 'error_reporting', E_ALL );\r\n@ini_set( 'display_errors', false );\r\n@ini_set( 'log_errors', true );\r\n@ini_set( 'error_log', dirname(__FILE__) . '\/wp-content\/debug.log' );\r\n<\/code><\/pre>\n<p><strong><a href=\"#404\" name=\"404\">404 Error &#8211; page not found<\/a><\/strong><\/p>\n<p>Detail pages going 404 or not found? A different page? Try resaving permalinks using this procedure: <a href=\"https:\/\/wpgeodirectory.com\/docs-v2\/geodirectory\/settings\/permalinks\/#404\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/wpgeodirectory.com\/docs-v2\/geodirectory\/settings\/permalinks\/#404<\/a><\/p>\n<p><strong><a href=\"#500\">500 Error<\/a><\/strong><br \/>\nEnable debugging and refresh the site to see which plugin is causing the issue. Delete that plugin via FTP and refresh the site. Upload a fresh copy of the plugin and if the problem occurs again then contact the plugin author.<\/p>\n<p><strong><a href=\"#503\">503 Error<\/a><\/strong><br \/>\nEnable debugging and contact your site host to find out how to review the server error logs. Consider using a staging site to diagnose the issue.<\/p>\n<p><strong><a href=\"#not-a-valid-csv-file\" name=\"not-a-valid-csv-file\">CSV Error<\/a><a href=\"#csv-error\" name=\"csv-error\"><\/a><\/strong><\/p>\n<p>WordPress does not allow the upload of CSV files (by default). You may see one of several different errors when trying to upload a CSV file, all of which are telling you that you cannot upload a CSV file.<\/p>\n<p>To get around this, install this plugin which makes your site allow the upload of CSV files:<br \/>\n<a href=\"https:\/\/wordpress.org\/plugins\/disable-real-mime-check\/\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/wordpress.org\/plugins\/disable-real-mime-check\/<\/a><\/p>\n<p>Once you have uploaded your files, then you can deactivate and delete the plugin.<\/p>\n<p><strong><a href=\"#delete\" name=\"delete\">Bulk Deletion of Listings or Categories<\/a><\/strong><\/p>\n<p>WordPress has built in settings that allow you to delete or edit up to 200 items at a time. Here is an example for how to delete Places listings.<\/p>\n<ul>\n<li>Go to the Places page at <strong>WordPress Backend -&gt; Places <\/strong>(All)<\/li>\n<li><strong>Select Screen Options<\/strong> in the upper right corner<\/li>\n<li>Under <strong>Pagination: Number of items per page<\/strong> set the value to 200<\/li>\n<li><strong>Click Apply<\/strong> &#8211; the screen will refresh and show up to 200 listings<\/li>\n<li>Use the option to &#8220;Select All&#8221;<\/li>\n<li>Use the Bulk Option to choose Move to trash and click Apply<\/li>\n<li>Repeat for as many listings as you wish to delete<\/li>\n<li>Select the link to the trash, then <strong>click Empty trash<\/strong><\/li>\n<\/ul>\n<p><strong><a href=\"#bulk\" name=\"bulk\">Bulk Delete listings in one category<\/a><\/strong><br \/>\nYou can also filter listings by category (or tags) by clicking on a category link. This will take you to a page that lists only listings in that category. Use the process above to then delete up to 200 listings at a time from one specific category.<\/p>\n<p><a href=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/gd-mass-delete.jpg\"><img class=\"alignnone size-full wp-image-645\" src=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/gd-mass-delete.jpg\" alt=\"\" width=\"600\" srcset=\"https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/gd-mass-delete.jpg 2666w, https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/gd-mass-delete-300x110.jpg 300w, https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/gd-mass-delete-768x281.jpg 768w, https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/gd-mass-delete-1024x374.jpg 1024w\" sizes=\"(max-width: 2666px) 100vw, 2666px\" \/><\/a><\/p>\n<p>The same technique can also be used to change comment or other status. Simply select Edit instead of delete. Be careful not to remove all categories!<\/p>\n<p><a href=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/bulk-comments.jpg\"><img class=\"alignnone size-full wp-image-681\" src=\"http:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/bulk-comments.jpg\" alt=\"\" width=\"600\" srcset=\"https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/bulk-comments.jpg 1925w, https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/bulk-comments-300x106.jpg 300w, https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/bulk-comments-768x271.jpg 768w, https:\/\/wpgeodirectory.com\/docs-v2\/wp-content\/uploads\/sites\/23\/2018\/09\/bulk-comments-1024x361.jpg 1024w\" sizes=\"(max-width: 1925px) 100vw, 1925px\" \/><\/a><\/p>\n<h4>Clearing Cache<\/h4>\n<p><strong>GoDaddy<\/strong> &#8211; How to clear cache at Godaddy: <a href=\"https:\/\/www.godaddy.com\/help\/clear-your-cache-12444\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/www.godaddy.com\/help\/clear-your-cache-12444<\/a><\/p>\n<h4>Windows Filesystem Issues<\/h4>\n<p>If you receive an error while trying to install or update a plugin and are using Windows please take a look at these links and consider trying out the Windows fix plugin.<br \/>\n<a href=\"https:\/\/community.bitnami.com\/t\/update-failed-could-not-create-directory\/53763\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/community.bitnami.com\/t\/update-failed-could-not-create-directory\/53763<\/a><br \/>\n<a href=\"https:\/\/wordpress.org\/plugins\/fix-windows-compatibility\/\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/wordpress.org\/plugins\/fix-windows-compatibility\/ <\/a><\/p>\n","protected":false},"featured_media":0,"parent":84,"menu_order":5,"comment_status":"closed","ping_status":"closed","template":"","doc_tag":[],"amp_validity":null,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/wpgeodirectory.com\/docs-v2\/wp-json\/wp\/v2\/docs\/295"}],"collection":[{"href":"https:\/\/wpgeodirectory.com\/docs-v2\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/wpgeodirectory.com\/docs-v2\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/wpgeodirectory.com\/docs-v2\/wp-json\/wp\/v2\/comments?post=295"}],"version-history":[{"count":0,"href":"https:\/\/wpgeodirectory.com\/docs-v2\/wp-json\/wp\/v2\/docs\/295\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/wpgeodirectory.com\/docs-v2\/wp-json\/wp\/v2\/docs\/84"}],"next":[{"title":"Mixed Content","link":"https:\/\/wpgeodirectory.com\/docs-v2\/faq\/mixed-content\/","href":"https:\/\/wpgeodirectory.com\/docs-v2\/wp-json\/wp\/v2\/docs\/185"}],"prev":[{"title":"Compatibility","link":"https:\/\/wpgeodirectory.com\/docs-v2\/faq\/theme\/","href":"https:\/\/wpgeodirectory.com\/docs-v2\/wp-json\/wp\/v2\/docs\/90"}],"wp:attachment":[{"href":"https:\/\/wpgeodirectory.com\/docs-v2\/wp-json\/wp\/v2\/media?parent=295"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/docs-v2\/wp-json\/wp\/v2\/doc_tag?post=295"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}