We are experiencing this identical problem after manually upgrading. The site is up publicly, but admin page does not display, and shows only this error:
Fatal error: Cannot redeclare get_available_post_mime_types() (previously declared in /home/radiou5/public_html/wp-includes/post.php:6905) in /home/radiou5/public_html/wp-admin/includes/post.php on line 1189
The site is experiencing technical difficulties. Please check your site admin email inbox for instructions.
-
This reply was modified 7 years, 1 month ago by
michaelb321.
After waiting several minutes, the error seems to have disappeared on its own, and all is back to normal. Odd?
I got the same thing. I went a got a cup of coffee came back and looked and it fixed itself.
Did not resolve for me. I upgrade and then can’t get into the site. Great. If you don’t have a backup then your screwed!
The site is experiencing technical difficulties. Please check your site admin email inbox for instructions.
me to.
Hi there,
I had the same error, to reproduce it for my part:
jupiter X 1.3.0
Installed Jupiter X Core
if i change the theme version (1.3 => 1.2) the website work ok. if i delete either the theme or the plugin the website work too.
I hope this help.
The same with Jupiter X Pro.
if i comment the public function __construct on it
or $this->load_files( [ ‘compiler/functions’, ‘compiler/class-compiler’,] ); on Jupiter X Core , the website work.
-
This reply was modified 7 years, 1 month ago by
glp23.
I am running it on WAMP. It resolves on that.
Fatal error: Cannot redeclare get_available_post_mime_types() (previously declared in /home/z8ided6sggyj/public_html/wp-includes/post.php:6905) in /home/z8ided6sggyj/public_html/wp-admin/includes/post.php on line 1194
This message is coming in the admin panel
Help please
-
This reply was modified 7 years ago by
anwarqqq.
Hi
I’m having the same issue…
On the site itself borderhockey.co.za its says this:
The site is experiencing technical difficulties.
If I try to access the admin page it shows this:
The site is experiencing technical difficulties. Please check your site admin email inbox for instructions.
I haven’t seen any emails though, is there a way for me to fix this?
-
This reply was modified 7 years ago by
icestorm22.
Same is happening to my site!
The site is experiencing technical difficulties. Please check your site admin email inbox for instructions.
I haven’t seen any emails though, is there a way for me to fix this?
Is there any advice on how to fix this please – I am not receiving any such email …
there is apparently various plugins that can cause this with the last wp update (5.2). try to move all plugins our of the plugin directory and then return them back one by one while checking with wich one the error happen and deactivate it until a viable solution is produced.
I had it fixed by downgrading my WordPress file!
After upgrading to 5.2.2-es_Es my admin panel broke.
I got this error:
[31-Aug-2019 16:48:55 UTC] PHP Fatal error: Cannot redeclare get_available_post_mime_types() (previously declared in /home/example/public_html/example.com/wp-includes/post.php:6905) in /home/example/public_html/example.com/wp-admin/includes/post.php on line 1189
I removed the called line 1189 function:
/**
* Get all available post MIME types for a given post type.
*
* @since 2.5.0
*
* @global wpdb $wpdb WordPress database abstraction object.
*
* @param string $type
* @return mixed
*/
function get_available_post_mime_types( $type = 'attachment' ) {
global $wpdb;
$types = $wpdb->get_col( $wpdb->prepare( "SELECT DISTINCT post_mime_type FROM $wpdb->posts WHERE post_type = %s", $type ) );
return $types;
}
…and the admin panel was up again.
Then I tried to re-install version 5.2.2, but it says:
"There is currently another update in progress."
…so I guess I will prepare that coffee to wait and see.
This is a wp core bug…