maika1981
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: problems after WP updatingFurthermore, I have found in my file manager of hosting, then wp-admin–> includes–> post.php and I found this text:
@param bool $update Whether the post already exists.
- @param array|null $post_data Optional. The array of post data to process.
- Defaults to the
$_POSTsuperglobal. - @return array|WP_Error Array of post data on success, WP_Error on failure.
*/
function _wp_translate_postdata( $update = false, $post_data = null ) { if ( empty( $post_data ) ) {
$post_data = &$_POST;
} if ( $update ) {
$post_data[‘ID’] = (int) $post_data[‘post_ID’];
} $ptype = get_post_type_object( $post_data[‘post_type’] ); if ( $update && ! current_user_can( ‘edit_post’, $post_data[‘ID’] ) ) {
if ( ‘page’ === $post_data[‘post_type’] ) {
return new WP_Error( ‘edit_others_pages’, ( ‘Sorry, you are not allowed to edit pages as this user.’ ) ); } else { return new WP_Error( ‘edit_others_posts’, ( ‘Sorry, you are not allowed to edit posts as this user.’ ) );
}
} elseif ( ! $update && ! current_user_can( $ptype->cap->create_posts ) ) {
if ( ‘page’ === $post_data[‘post_type’] ) {
return new WP_Error( ‘edit_others_pages’, ( ‘Sorry, you are not allowed to create pages as this user.’ ) ); } else { return new WP_Error( ‘edit_others_posts’, ( ‘Sorry, you are not allowed to create posts as this user.’ ) );
}
}
Can this error message be responsible of noti visible blog page?
Forum: Fixing WordPress
In reply to: problems after WP updatingDear, I followed your tips. I removed cache from chrome, safari, from WP editor clicking on “performance” and then on “purge all caches” and also from W3 Total Cache plugin clicking on “Empty all caches”. Anyhow, I’m not able to see this page: https://www.oraxapp.it/blog/
Can you see it?
Is it possible that there is an error on server related just with this page?
Waiting for your kind reply
thanks
Maika
Forum: Fixing WordPress
In reply to: problems after WP updatingDear, many thanks for your help! 🙂
I followed your tips but I didn’t solve the problem. I replace Riven theme with Twenty Twenty one them and I saw the blog page is visible withe the new theme, so I realized that the problem is cause by the Riven theme. Then I downloaded 6.6.2 Wp (the latest) and 5.9.0 Wp version (the one I had before) to try both versions: I went in my file manager panel (from Aruba), rename the actual wp-admin and wp-includes folders in “wp-admin-OLD” and “wp-includes-OLD” and then upload wp-admin and wp-includes folders of the 6.6.2 first and then (after removing them) of the 5.9.0.
Blog page is still not visible and backend editor has still a wrong visualization, I mean a different from previous Riven style backend editor 🙁
I really don’t know what to do.
I tried also to deactivate plugins but no changes, so I activate them again.
I don’t know why just a page (blog page) is not visible while the other pages are visible.
Furthermore, why the new version of WP (6.6.2) made conflicts with Riven theme?
I really appreciate your help and any advice.
Many thanks
Maika