Can’t Change the default theme on WordPress by BitnamI running on AWS

Can you check the permissions of the wp-content and wp-content/themes folders? They should be 755 (owner=write, group=read, public=read). If, for some reason, the user on your instance that runs the webserver (probably www or www-data) is not the owner of that directory but in the group that owns that directory it should be 775 (owner=write, … Read more

Silly Problem Referencing a Post ID

I’m surprised, your site works as desired, if you really call the_post for the button. This function does not echo the post’s ID, it simply fetches the next post of the current query. If I understood you correctly (and I’m not so sure about that), you only want to get the current post’s ID so … Read more

Importing existing s3 Media into WP

In theory you’d think it could work like that. In reality, it doesn’t. There’s a simple reason no plugin exists that would do this. Whenever you import media into WordPress, it creates thumbnail files of various sizes, (even for videos). In order to create those thumbnails, it has to download (you guessed it) the entire … Read more

How to fix AWS SNS API end point code that cause site not to load?

The root cause is this: function sns_endpoint_data() { // this line caused the site not to load $message = Message::fromRawPostData(); /* additional code follows… */ } add_action( ‘template_redirect’, ‘sns_endpoint_data’ ); There is no if condition checking if this is indeed the URL you desired to do this on. As a result, the Message::fromRawPostData() will load … Read more