WordPress: You are not allowed to edit this post.

0

WordPress: You are not allowed to edit this post.

In ultima perioada am intalnit aceasta eroare la wordpress cand am incercat sa creez o pagina noua sau un post nou: You are not allowed to edit this post.

Dupa ce am cautat pe Google am observat ca multa lume a intalnit aceasta eroare, dar o solutie rapida nu am gasit.

Urmatorul pas a fost sa ma uit in loguri dupa erori si iata ce am observat:
[Tue Apr 16 11:14:22 2013] [error]WordPress database error Incorrect datetime value: ‘0000-00-00 00:00:00’ for column ‘post_date_gmt’ at row 1 for query INSERT INTO `wp_posts` (`post_author`,`post_date`,`post_date_gmt`,`post_content`,`post_content_filtered`,`post_title`,  `post_excerpt`,`post_status`,`post_type`,`comment_status`,`ping_status`,`post_password`,`post_name`, `to_ping`,`pinged`,`post_modified`,`post_modified_gmt`, `post_parent`,`menu_order`,`guid`) VALUES (1,’2013-04-16 08:14:22′,’0000-00-00 00:00:00′,”,”,’Auto Draft’,” ,’auto-draft’,’page’,’open’,’open’,”,”,”,”,’2013-04-16 08:14:22′,’0000-00-00 00:00:00′,0,0,”) made by get_default_post_to_edit, wp_insert_post, referer: wp-admin/update-core.php

[Tue Apr 16 11:53:10 2013] [error]WordPress database error Incorrect datetime value: ‘0000-00-00 00:00:00’ for column ‘post_date_gmt’ at row 1 for query INSERT INTO `wp_posts` (`post_author`,`post_date`,`post_date_gmt`,`post_content`,`post_content_filtered`,`post_title`, `post_excerpt`,`post_status`,`post_type`, `comment_status`,`ping_status`,`post_password`,`post_name`, `to_ping`,`pinged`,`post_modified`,`post_modified_gmt`,`post_parent`,`menu_order`,`guid`)  VALUES (1,’2013-04-16 08:53:10′,’0000-00-00 00:00:00′,’ ‘,”,”,”,’draft’,’nav_menu_item’,’open’,’open’,”,”,”,”,’2013-04-16 08:53:10′,’0000-00-00 00:00:00′,0,1,”) made by do_action(‘wp_ajax_H_MegaMenu_AJAX_Menu’),  call_user_func_array, H_MegaMenu_AJAX_Menu, wp_save_nav_menu_items, wp_update_nav_menu_item, wp_insert_post, referer: wp-admin/nav-menus.php

Se pare ca aceasta eroare: WordPress database error Incorrect datetime value: ‘0000-00-00 00:00:00’ facea aproape inposibila administrarea blogului in parametri normali.

Aceasta eroare se rezolva destul de simplu urmand pasii de aici.

Bafta

Share.

Comments are closed.