Image upload error?

There is nothing like answering your own question. After more testing I have found that increasing the PHP memory_limit fixed the issue. Which would all make sense, the larger resolution of the image means more processing to compile the different sizes when uploading and saving the image. I increased it to 96M and problem gone.

Cannot upgrade to 4.0 – get SSL certificate error

The first issue is your hosting company fault. The underlying library that performs the authentication that you are actually connecting to wordpress.org is probably missing some related configuration to be able to complete correctly the authentication. The solution they gave you is not secure and while I don’t believe anything bad will happen because of … Read more

Apparent errer when installing plugin

I found the problem. I didn’t realize this was a generic message for pretty much all errors. I stripped everything out of the activation routine (similar to above) and ran it… got no errors. Started adding “stuff” back. And it appears a call to flush() at the end of the activation function trying to force … Read more

HTTP error when uploading an image

I’ve had the same problem and found it was due to the upload file size set for the server (in my case 2mb). There is another setting which escapes me at this point, but is basically a limit on the amount of space that can be used to process uploaded images…which WordPress does when it … Read more

Cannot load media and I get “PHP Warning: Invalid argument supplied for foreach(“

@TheDeadMedic was right, in my second code snippet, admin_init should be admin_menu. That solved my problem, thanks a lot to all of you! Corrected code: //remove from menu function remove_posts_menu() { remove_menu_page(‘edit.php’); remove_menu_page(‘edit.php?post_type=page’); remove_menu_page(‘edit-comments.php’ ); } add_action(‘admin_menu’, ‘remove_posts_menu’);

Angular not defined [closed]

You should use wp_enqueue_script to add the script. The documentation contains information about the function and how it should be used and some helpful examples. Basically, you will need to add something like this to the functions.php file: function myextension_enqueue_scripts() { wp_enqueue_script( ‘myextension-angular’, plugins_url( ‘/assets/js/angular.min.js’ , __FILE__ ), // If you are working on a … Read more

Problem after updating plugins

There is problem with the “wordpress-seo” permission so please following steps. There are two way 1) Upload from the wp-admin Step 1 -> Change the “wordpress-seo” permission or rename the “wordpress-seo” plugin to another Step 2 -> If you have change the permission then just upgrade the plugin and if you have rename the plugin … Read more