Skip to content

The plugin deactivated itself right after activation

Section titled “The plugin deactivated itself right after activation”

The addon deactivates itself in two cases, each with an admin notice:

  • The active theme is not Reign. The addon requires the Reign theme. Activate the Reign theme, then activate the addon.
  • GeoDirectory is not active. Install and activate the GeoDirectory plugin, then activate the addon.

The update will not install on an older site

Section titled “The update will not install on an older site”

The addon declares WordPress 6.5 and PHP 8.0 as its floors in the plugin header. A site below either version is refused the update rather than allowed to break. Check the WordPress and PHP versions and raise them before updating.

Work through these in order:

  1. Confirm a supported community platform is active (BuddyPress 2.8+ or PeepSo).
  2. In Geodirectory Settings > General Settings, confirm Places Tab is enabled for that platform, and save.
  3. Reload the profile. The addon wires up the tab at the start of each request, so a just-saved change needs a fresh page load.
  4. Confirm GeoDirectory has at least one registered post type and that the member has listings.

The addon asks the Reign theme to load its GeoDirectory styles on profile screens. If the tab is unstyled:

  1. Confirm you are on Reign theme version 8.0.0 or later, which loads GeoDirectory styles conditionally.
  2. Clear any page or CSS cache.
  3. Confirm the profile you are viewing is the one where the tab renders (the BuddyPress Places component, or a PeepSo profile page using the profile shortcode).

The addon disables GeoDirectory’s fast_ajax on activation so the favorite event is captured. If favorites were enabled in GeoDirectory after the addon was activated, or fast_ajax was turned back on, favorite activity may not fire. Set GeoDirectory’s fast_ajax back to off, or reactivate the addon.

Reviews on normal posts are appearing (or not) as activity

Section titled “Reviews on normal posts are appearing (or not) as activity”

Review activity and review notifications only fire for comments on GeoDirectory listings. Comments on ordinary posts are ignored by design. If a review is not generating activity, confirm the comment is approved: activity and notifications fire when the review is inserted approved, or when a pending review is later approved.

New place notifications are slow or arrive gradually

Section titled “New place notifications are slow or arrive gradually”

New place notifications (BuddyPress) are sent in background batches by WP-Cron so publishing is never blocked, and on large sites they arrive over several cron runs (200 members per run by default). If they do not arrive at all, confirm WP-Cron is running on the site. Developers can change the batch size with the reign_geodir_new_place_notification_batch_size filter; see Hooks and Filters.

Duplicate listings or “Undefined array key” notices on category archives

Section titled “Duplicate listings or “Undefined array key” notices on category archives”

The addon adds a GROUP BY clause to GeoDirectory archive queries to prevent duplicate rows when a listing belongs to more than one category. If you see duplicates or related notices, confirm the addon is active and that another plugin is not removing the geodir_posts_groupby filter.

Only a user with the manage_options capability can save these settings, and the save is nonce-checked. If a save appears not to persist, confirm you have that capability. Also remember that settings are stored inside the shared reign_options option; the save handler updates only the addon’s keys, so other Reign addon settings are left intact.