perryb
Forum Replies Created
-
I managed to get round the issue by using
pods_api_pre_save
.Didn’t get to the bottom of why my previous code had stopped working as expected though.
Hi @bcworkz,
Thanks for the reply, I can’t find much information on
rest_after_insert_{$this->post_type}
.I get that it’s an action but I’m not clear where or when I’d call this in relation to
wp_insert_post_data
.Forum: Plugins
In reply to: [W3 Total Cache] W3TC creating bugs in Pods and ACF data fieldsJust to confirm @gidomanders
Don't cache pages for logged in users
off or on the effect is the same for me.Forum: Plugins
In reply to: [Query Monitor - The developer tools panel for WordPress] Javascript errorI have discovered a similar error. The effect seems to be that it stops drop downs working within WP admin.
Here’s a readout of the error I get in Firefosx dev tools:
NS_ERROR_FILE_CORRUPTED: query-monitor.js:211 <anonymous> https://mysite/wp-content/plugins/query-monitor/assets/query-monitor.js:211:16 each https://mysite/wp-admin/load-scripts.php:2:2879 each https://mysite/wp-admin/load-scripts.php:2:844 <anonymous> https://mysite/wp-content/plugins/query-monitor/assets/query-monitor.js:209:3 i https://mysite/wp-admin/load-scripts.php:2:27444 fireWith https://mysite/wp-admin/load-scripts.php:2:28213 ready https://mysite/wp-admin/load-scripts.php:2:30004 K https://mysite/wp-admin/load-scripts.php:2:30366
Forum: Fixing WordPress
In reply to: Jetpack not connecting despite WordPress.com dashboard saying it hasAh yes, good point!
Hi there,
Yes I was able to use the email form just no email ending up in my inbox.
I was getting some pretty perplexing login issues related to redirect loops on top of all this so I’ll share the 2 things I did that seem to have solved my issue.
1: This post by Tom McFarlin fixed my login redirect issues which were compounding the problem:
https://tommcfarlin.com/resolving-the-wordpress-multisite-redirect-loop/
2: I’m not 100% certain but there may have been issues with emails from my server being blocked by Gmail (though this doesn’t adequately explain why I was receiving some emails from my multisite or that there is no issue with the other single site on my server) anyhow I set up SPF, set up reverse DNS and configured DKIM – e.g. tutorial here:
https://www.linode.com/docs/email/postfix/configure-spf-and-dkim-in-postfix-on-debian-8
Just a note to say I’ve just tried Widget logic with the same site and set up just to see if filtering for is_archive would work as expected.
This does work for all archive type category pages including categories.
OK Author pages are working. Just Category pages seem to not work.
Forum: Fixing WordPress
In reply to: Can't upload files over 1mb – HTTP ErrorBy the way have you made sure to reboot the server or restart php and/or nginx (whichever is easiest) each time you update your configs?
Forum: Fixing WordPress
In reply to: Can't upload files over 1mb – HTTP ErrorA 403 would suggest a file/folder permission issue.
Forum: Fixing WordPress
In reply to: Can't upload files over 1mb – HTTP ErrorOh, I also found this which makes the above solution look even more promising ??
https://blog.rezajp.info/posts/maximum-upload-size-in-wordpress-running-on-nginx/
Forum: Fixing WordPress
In reply to: Can't upload files over 1mb – HTTP ErrorIn your nginx error log you have a 413 error.
I just checked my main nginx.conf and there is a directive called client_max_body_size.
I’m not certain this is the cause but if you look the directive up on the nginx wiki it says “If the stated content length is greater than this size, then the client receives the HTTP error code 413”
The default is 1M. Perhaps try raising that and restarting nginx to see if that makes a difference.
Forum: Networking WordPress
In reply to: Subdomains reverting back to main domain on sub domain logoutThe only thing about checking the Remote Login option on the Domain Mapping plugin is that it can add up to a second to your sub site load times.
Perhaps not disastrous but frustrating if you are forced to make a choice between usability and loading speed.
Forum: Plugins
In reply to: [WP REST API (WP API)] wp-json.php works OK but all other URLS 404Yes I did – it turns out that the placement of the plugin files caused the problem.
I realised that the pages weren’t 404ing and were just blank so I switched debug back on and got this:
Warning: include_once(/mydomain.co.uk/public/wp-content/plugins/json-rest-api/lib/class-wp-json-server.php): failed to open stream: No such file or directory in /mydomain.co.uk/public/wp-content/plugins/json-rest-api/plugin.php on line 13 etc....
So I copied the files back into the plugin folder and everything seems to be working fine now.
Not sure why the initial plugin install didn’t work – and manually copying files only partially worked.
Hope this helps
Forum: Plugins
In reply to: [WordPress Beta Tester] 3.5.2 installed – where's 3.6beta1?No worries, very frustrating when it happens too ??