Media Library Is Going Wrong
-
I have a problem about the media library, where when I built my website on localhost the website was still fine, but when I upload to the CPanel server, some of these problems started to appear including:
1. when I see the media library, only a blank page appears and all my photos / media are not visible
2. when I make a new post I can’t create or update with various errors
3. until I can’t update some features on theme customizationsome of these errors lead to debug as follows:
Notice: Trying to get property 'post_type' of non-object in /home/hent2501/public_html/wp-includes/post.php on line 7589 Notice: Trying to get property 'post_type' of non-object in /home/hent2501/public_html/wp-includes/post.php on line 7590 Notice: Trying to get property 'ID' of non-object in /home/hent2501/public_html/wp-includes/post.php on line 7594 Notice: Trying to get property 'post_type' of non-object in /home/hent2501/public_html/wp-includes/post.php on line 7837 Notice: Trying to get property 'post_type' of non-object in /home/hent2501/public_html/wp-includes/theme.php on line 3502 Notice: Trying to get property 'post_type' of non-object in /home/hent2501/public_html/wp-includes/theme.php on line 3727 Notice: Trying to get property 'post_type' of non-object in /home/hent2501/public_html/wp-includes/post.php on line 5375 Notice: Trying to get property 'ID' of non-object in /home/hent2501/public_html/wp-includes/post.php on line 5375 Notice: Trying to get property 'post_type' of non-object in /home/hent2501/public_html/wp-includes/post.php on line 4676 Fatal error: Uncaught TypeError: Argument 2 passed to Elementor\TemplateLibrary\Source_Local::on_save_post() must be an instance of WP_Post, null given, called in /home/hent2501/public_html/wp-includes/class-wp-hook.php on line 309 and defined in /home/hent2501/public_html/wp-content/plugins/elementor/includes/template-library/sources/local.php:1042 Stack trace: #0 /home/hent2501/public_html/wp-includes/class-wp-hook.php(309): Elementor\TemplateLibrary\Source_Local->on_save_post(0, NULL) #1 /home/hent2501/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #2 /home/hent2501/public_html/wp-includes/plugin.php(474): WP_Hook->do_action(Array) #3 /home/hent2501/public_html/wp-includes/post.php(4687): do_action('save_post', 0, NULL, false) #4 /home/hent2501/public_html/wp-admin/includes/post.php(700): wp_insert_post(Array, false, false) #5 /home/hent2501/public_html/wp-admin/post-new.php(66): get_default_post_to_edit('post', true) #6 {main} thrown in /home/hent2501/public_html/wp-content/plugins/elementor/includes/template-library/sources/local.php on line 1042and below :
An error occurred in the upload. Please try again later.
can anyone help me?
The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Media Library Is Going Wrong’ is closed to new replies.
