jthNET
Forum Replies Created
-
I’m currently running WP v5.3 and Offload Lite v2.3, without issues posting images. PNG files are uploading to S3 as expected. I have this plugin running across several sites, and none have exhibited any issues since the upgrade.
I know this doesn’t help fix the problem. But, sometimes, it helps me to know that it does function in some setups. This might suggest another plugin or configuration with your setup is the cause.
Hope a resolution is discovered soon!
Awesome suggestion, Justin. Thanks!
I coupled that with the call for the privacy page to produce this code:
add_filter( 'members_is_private_page', function( $is_private ) { $privacy_policy_page = get_option( 'wp_page_for_privacy_policy' ); if ( $privacy_policy_page ) { $permalink = esc_url(get_permalink($privacy_policy_page)); } return is_page( $privacy_policy_page ) ? false : $is_private; } );
Well, this is bizarre, and embarrassing. After trying to enable WP_DEBUG settings, the problem disappeared. During that process, I found two calls for WP_DEBUG, and removed one of them. I tested with debug on, and then off, and all works now. (shrug)
Any ideas? Could I be missing a library? It seems unlikely a permission problem, since I am able to delete files when this plugin is not enabled in production.
From what I’ve read, Amazon Linux 2 is a more basic platform than the previous edition, requiring the addition of more extras or libraries.
Have you set strict public restrictions on the bucket (new S3 setting for buckets)? I had similar results as you, and then dropped the restrictions. I didn’t make the bucket public, but now it is listed as ‘Objects can be public’.
Hope this helps!
Correction: The EC2 instance running Amazon Linux 2 is in production environment (not dev). Thought I had proofed this thoroughly last night.