David Wickstead
Forum Replies Created
-
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
In reply to: [Archive Content with Archived Post Status] Public view of archived filesHi 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
In reply to: [BuddyPress XProfile Custom Image Field] Specified file failed upload test.
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
In reply to: [BuddyPress XProfile Custom Image Field] Specified file failed upload test.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.Thank you Even
I have added your snippet and can confirm that is has stopped the errors appearing.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 disappearsThank 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
In reply to: [WP Consent API] Consent error on Safari and Firefoxhi 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
In reply to: [WP Consent API] Consent error on Safari and FirefoxActually still seeing issue in Safari but page opens fine in Chrome and Firefox
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
ok I have gone through all my plugins and discover the issue is with WP Consent API which is activated in SiteKit
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
In reply to: [Custom Post Type UI] Critical error on CPT when search term does not existManaged 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
Forum: Plugins
In reply to: [Custom Post Type UI] Critical error on CPT when search term does not existI 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
In reply to: [Custom Post Type UI] Critical error on CPT when search term does not existok 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