Title: David Wickstead's Replies | WordPress.org

---

# David Wickstead

  [  ](https://wordpress.org/support/users/wicko/)

 *   [Profile](https://wordpress.org/support/users/wicko/)
 *   [Topics Started](https://wordpress.org/support/users/wicko/topics/)
 *   [Replies Created](https://wordpress.org/support/users/wicko/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/wicko/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/wicko/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/wicko/engagements/)
 *   [Favorites](https://wordpress.org/support/users/wicko/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 47 total)

1 [2](https://wordpress.org/support/users/wicko/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/wicko/replies/page/3/?output_format=md) 
[4](https://wordpress.org/support/users/wicko/replies/page/4/?output_format=md) 
[→](https://wordpress.org/support/users/wicko/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] The latest version of Woocommerce has a bug in product category sorting.](https://wordpress.org/support/topic/the-latest-version-of-woocommerce-has-a-bug-in-product-category-sorting/)
 *  [David Wickstead](https://wordpress.org/support/users/wicko/)
 * (@wicko)
 * [7 months ago](https://wordpress.org/support/topic/the-latest-version-of-woocommerce-has-a-bug-in-product-category-sorting/#post-18685019)
 * I am experiencing the same issue. Easy to blame this on another plugin conflict.
   But the issue was not present before and only happened after last WooCommerce
   update.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Archive Content with Archived Post Status] Public view of archived files](https://wordpress.org/support/topic/public-view-of-archived-files/)
 *  Thread Starter [David Wickstead](https://wordpress.org/support/users/wicko/)
 * (@wicko)
 * [7 months ago](https://wordpress.org/support/topic/public-view-of-archived-files/#post-18677862)
 * Hi Joshua
 * Thanks for the reply.
   Would really prefer that I could add to the page with the
   block editor.
 * Can add snippets to function php but not really comfortable to create own php
   loop in the theme
 * regards
 * David
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[BuddyPress XProfile Custom Image Field] Specified file failed upload test.](https://wordpress.org/support/topic/specified-file-failed-upload-test-12/)
 *  Thread Starter [David Wickstead](https://wordpress.org/support/users/wicko/)
 * (@wicko)
 * [7 months, 1 week ago](https://wordpress.org/support/topic/specified-file-failed-upload-test-12/#post-18669494)
 * ![](https://i0.wp.com/wineadventurer.co.uk/wp-content/uploads/profiles/32/albourne-
   multi-vintage.jpg?ssl=1)
 * This is the image. I can see it has been added to the server ok. But when is 
   saved from within the profile I get the error. I can seven see multiple versions
   uploaded with -x added to the file name for each version.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[BuddyPress XProfile Custom Image Field] Specified file failed upload test.](https://wordpress.org/support/topic/specified-file-failed-upload-test-12/)
 *  Thread Starter [David Wickstead](https://wordpress.org/support/users/wicko/)
 * (@wicko)
 * [7 months, 1 week ago](https://wordpress.org/support/topic/specified-file-failed-upload-test-12/#post-18669204)
 * The server has plenty of space and the file permissions are set to default across
   the site. 
   What if the director it is saving to? Perhaps this is something that
   is being blocked by security settings.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Site Kit by Google - Analytics, Search Console, AdSense, Speed] Uncaught errors after update](https://wordpress.org/support/topic/uncaught-errors-after-update/)
 *  Thread Starter [David Wickstead](https://wordpress.org/support/users/wicko/)
 * (@wicko)
 * [9 months ago](https://wordpress.org/support/topic/uncaught-errors-after-update/#post-18599997)
 * Thank you Even
   I have added your snippet and can confirm that is has stopped 
   the errors appearing.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Site Kit by Google - Analytics, Search Console, AdSense, Speed] Uncaught errors after update](https://wordpress.org/support/topic/uncaught-errors-after-update/)
 *  Thread Starter [David Wickstead](https://wordpress.org/support/users/wicko/)
 * (@wicko)
 * [9 months ago](https://wordpress.org/support/topic/uncaught-errors-after-update/#post-18599631)
 * Yes we use SG Optimizer and I can exclude the JS but need to know what JS to 
   exclude. I don’t see any that appear to be SiteKit specific. 
   I have already 
   tried flushing cache on site, server and browser. I can confirm that if I switch
   off the JS minification then the error disappears
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[HireZoot – (WP Job Openings) Job Listings, Career Page & Recruitment Tool] Notifications page keeps spinning](https://wordpress.org/support/topic/notifications-page-keeps-spinning/)
 *  Thread Starter [David Wickstead](https://wordpress.org/support/users/wicko/)
 * (@wicko)
 * [1 year ago](https://wordpress.org/support/topic/notifications-page-keeps-spinning/#post-18463449)
 * Thank you for coming back to me. I think the issue is related to the security
   plugin and restricted access on a staging site. When I added the plugin to live
   I could see that the notification section was loading fine. Is there a way I 
   can send text samples of the email rather than applying each time?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Consent API] Consent error on Safari and Firefox](https://wordpress.org/support/topic/consent-error-on-safari-and-firefox/)
 *  Thread Starter [David Wickstead](https://wordpress.org/support/users/wicko/)
 * (@wicko)
 * [1 year ago](https://wordpress.org/support/topic/consent-error-on-safari-and-firefox/#post-18424307)
 * hi thanks for the feedback. So the issue only happens when we use the user location
   to center the map. If we set a location then the issue does not happen. All map
   cookies should be set to default and required but for some reason Safari ignores
   it. 
   so for now we have set the location for the default center of the map. on
   check compatibility this issue only we present when the WP consent API and GDPR
   content plugins were active.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Consent API] Consent error on Safari and Firefox](https://wordpress.org/support/topic/consent-error-on-safari-and-firefox/)
 *  Thread Starter [David Wickstead](https://wordpress.org/support/users/wicko/)
 * (@wicko)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/consent-error-on-safari-and-firefox/#post-18411395)
 * Actually still seeing issue in Safari but page opens fine in Chrome and Firefox
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Site Kit by Google - Analytics, Search Console, AdSense, Speed] Invalid _ga error after update](https://wordpress.org/support/topic/invalid-_ga-error-after-update/)
 *  Thread Starter [David Wickstead](https://wordpress.org/support/users/wicko/)
 * (@wicko)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/invalid-_ga-error-after-update/#post-18409544)
 * Ok I have done some more digging and discovered that when WP Consent API was 
   disabled then the page would show in Firefox but would not then show in Chrome
   or Safari.
 * Even after clearing site cache and browser cache.
 * When I reactivated WP Consent API then the page was then visible again in all
   browsers.
 * So the issue appeared to be WP Consent API and the way it was connecting with
   Google SiteKit. By deactivating and re-enabling appears to have fixed the issue
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Site Kit by Google - Analytics, Search Console, AdSense, Speed] Invalid _ga error after update](https://wordpress.org/support/topic/invalid-_ga-error-after-update/)
 *  Thread Starter [David Wickstead](https://wordpress.org/support/users/wicko/)
 * (@wicko)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/invalid-_ga-error-after-update/#post-18409481)
 * ok I have gone through all my plugins and discover the issue is with WP Consent
   API which is activated in SiteKit
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Site Kit by Google - Analytics, Search Console, AdSense, Speed] Invalid _ga error after update](https://wordpress.org/support/topic/invalid-_ga-error-after-update/)
 *  Thread Starter [David Wickstead](https://wordpress.org/support/users/wicko/)
 * (@wicko)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/invalid-_ga-error-after-update/#post-18409351)
 * I can open and view the pages ok in Chrome but not in Safari or Firefox.
 * I have completed the form and submitted with a video that shows the issue in 
   Chrome, Safari and Firefox on a mac.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Post Type UI] Critical error on CPT when search term does not exist](https://wordpress.org/support/topic/critical-error-on-cpt-when-search-term-does-not-exist/)
 *  Thread Starter [David Wickstead](https://wordpress.org/support/users/wicko/)
 * (@wicko)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/critical-error-on-cpt-when-search-term-does-not-exist/#post-18391960)
 * Managed to prevent the issue with the listing file by adding an if statement 
   to check the value before running the script. tis had fixed the issue of the 
   fatal error. [https://www.dropbox.com/scl/fi/dm2nu1t3v27fq255bv096/listing.php?rlkey=7rvzhh8w93nv2ukrx7wst6yhv&st=xe9ze6qq&dl=0](https://www.dropbox.com/scl/fi/dm2nu1t3v27fq255bv096/listing.php?rlkey=7rvzhh8w93nv2ukrx7wst6yhv&st=xe9ze6qq&dl=0)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Post Type UI] Critical error on CPT when search term does not exist](https://wordpress.org/support/topic/critical-error-on-cpt-when-search-term-does-not-exist/)
 *  Thread Starter [David Wickstead](https://wordpress.org/support/users/wicko/)
 * (@wicko)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/critical-error-on-cpt-when-search-term-does-not-exist/#post-18387040)
 * I think this is a custom edit to a theme. This site I have recently inherited
   as the original developer has passed away. It had not been updated for many years
   and was till running pho 7.2 and was unable to update. I have since updated all
   plugins and upgraded php to 8.2. 
   site appears to be working ok and search is
   working for known searched but the moment you search for something that is not
   here it causes a fatal error.
 * I will try your suggestions in the listing.php file.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Post Type UI] Critical error on CPT when search term does not exist](https://wordpress.org/support/topic/critical-error-on-cpt-when-search-term-does-not-exist/)
 *  Thread Starter [David Wickstead](https://wordpress.org/support/users/wicko/)
 * (@wicko)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/critical-error-on-cpt-when-search-term-does-not-exist/#post-18385329)
 * ok so no error logs on the server.
 * Turned on debug and got this when I make a bad search
 * Warning: Undefined array key “postfilter” in /home/customer/www/playgolfsociety.
   co.uk/public_html/wp-content/themes/wcd/includes/directory/control.php on line
   24
 * Warning: Undefined variable $ismap in /home/customer/www/playgolfsociety.co.uk/
   public_html/wp-content/themes/wcd/includes/directory/control.php on line 54
 * Warning: Undefined array key “filter-page” in /home/customer/www/playgolfsociety.
   co.uk/public_html/wp-content/themes/wcd/includes/directory/listing.php on line
   3
 * Warning: Undefined array key “filter-section” in /home/customer/www/playgolfsociety.
   co.uk/public_html/wp-content/themes/wcd/includes/directory/listing.php on line
   5
 * Deprecated: Function like_escape is deprecated since version 4.0.0! Use wpdb::
   esc_like() instead. in /home/customer/www/playgolfsociety.co.uk/public_html/wp-
   includes/functions.php on line 6114
 * Warning: Undefined variable $finalids in /home/customer/www/playgolfsociety.co.
   uk/public_html/wp-content/themes/wcd/includes/functions/functions.php on line
   552
 * **Fatal error**: Uncaught TypeError: count(): Argument #1 ($value) must be of
   type Countable|array, null given in /home/customer/www/playgolfsociety.co.uk/
   public_html/wp-content/themes/wcd/includes/directory/listing.php:14 Stack trace:#
   0 /home/customer/www/playgolfsociety.co.uk/public_html/wp-content/themes/wcd/
   includes/directory/grid.php(9): include() #1 /home/customer/www/playgolfsociety.
   co.uk/public_html/wp-content/themes/wcd/directory.php(29): include(‘/home/customer/…’)#
   2 /home/customer/www/playgolfsociety.co.uk/public_html/wp-includes/template-loader.
   php(106): include(‘/home/customer/…’) #3 /home/customer/www/playgolfsociety.co.
   uk/public_html/wp-blog-header.php(19): require_once(‘/home/customer/…’) #4 /home/
   customer/www/playgolfsociety.co.uk/public_html/index.php(17): require(‘/home/
   customer/…’) #5 {main} thrown in **/home/customer/www/playgolfsociety.co.uk/public_html/
   wp-content/themes/wcd/includes/directory/listing.php** on line **14**

Viewing 15 replies - 1 through 15 (of 47 total)

1 [2](https://wordpress.org/support/users/wicko/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/wicko/replies/page/3/?output_format=md) 
[4](https://wordpress.org/support/users/wicko/replies/page/4/?output_format=md) 
[→](https://wordpress.org/support/users/wicko/replies/page/2/?output_format=md)