cooperk937
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form 7] Getting response – code: ‘invalid_jsonAh, I’ve managed to find it, that will make my life much easier, many thanks!
Forum: Plugins
In reply to: [Contact Form 7] Getting response – code: ‘invalid_jsonHi there,
That’s amazing thanks, that’s allowed me to debug and fix the issue.
Could you please let me know how you can read the REST API responses?
I could only see:
{code: ‘invalid_json’, message: ‘The response is not a valid JSON response.’}
In the browser console log which isn’t that helpful…Many thanks,
Karlah, just seen your latest reply, yes 3.2.4 fixed it, many thanks!
PHP 7.4. Latest WordPress 6.2.2. I also tried a wordpress reinstall of 6.2.2.
Thanks!
Forum: Plugins
In reply to: [WooCommerce] Orders mistakenly linking to customersHi @rainfallnixfig , many thanks for your reply.
Yes, it was Woocommerce -> Status -> Logs, nothing for that day.
I’ve downloaded the error log for that day (24th September), you can find it here;
https://manxtomkinson.co.uk/24-sep-error_log.txtPlease be aware that since we made this discovery, we found out that autoptimize was enabled on the site with a cache running. We have since disabled the cache as we thought that maybe this was a culprit.
Regards,
KarlForum: Plugins
In reply to: [Pods - Custom Content Types and Fields] 503 Service UnavailableHi @keraweb ,
Strangely enough, the error fixed itself after a few hours, so I don’t have a clue what the issue was…
Many thanks anyway.
KarlForum: Plugins
In reply to: [WooCommerce] Orders mistakenly linking to customers@captaincrank and @rainfallnixfig yes, the reason that we noticed this is that the email address that had been utilised 3 times contacted us saying that they had received someone else’s order confirmation emails, so I’m pretty sure that the contact details were incorrectly linked to the other 2 orders…
Unfortunately, nothing was added to the woocommerce log on the date of the order.
Regards,
KarlForum: Plugins
In reply to: [10Web Social Post Feed] Images missingHi there,
I’m having the same problem, please see here;
https://www.spanishmarks.com/facebook-feed/Regards,
KarlForum: Plugins
In reply to: [WPS Hide Login] Lost password not working?Hi,
Experiencing the same error.
WordPress up to date.
WPS Hide Login up to date.Lost password link works fine if I disable ‘WPS Hide Login’.
Regards,
KarlForum: Plugins
In reply to: [Import and export users and customers] After import, login process breaksPlease note that my CSV has the columns:
username,email,first-name,last-name,password,x-company
And the username and email are always the same value.Don’t know if that could be where my problem lies…
Forum: Plugins
In reply to: [SEO Ultimate] Using shortcodes in the title tagI’m almost there, I know that I need to override the following class function:
class SU_Titles extends SU_Module { function change_title_tag($head) { $title = $this->get_title(); if (!$title) return $head; // Pre-parse the title replacement text to escape the $ ($n backreferences) when followed by a number 0-99 because of preg_replace issue $title = preg_replace('/\$(\d)/', '\\\$$1', $title); //Replace the old title with the new and return return preg_replace('/<title>[^<]*<\/title>/i', '<title>'.$title.'</title>', $head); } }
I’m trying to extend the class in my functions.php, but it isn’t working, could anyone advise? My current code is:
class SU_Titles_Extended extends SU_Titles { function change_title_tag($head) { $title = $this->get_title(); if (!$title) return $head; // Pre-parse the title replacement text to escape the $ ($n backreferences) when followed by a number 0-99 because of preg_replace issue $title = preg_replace('/\$(\d)/', '\\\$$1', $title); //****** CHANGED HERE ****** $title = do_shortcode($title); //Replace the old title with the new and return return preg_replace('/<title>[^<]*<\/title>/i', '<title>'.$title.'</title>', $head); } }