• 4nd12i

    (@4nd12i)


    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 customization

    some 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 1042

    and 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)
  • Theme Author WPZOOM

    (@wpzoom)

    Hi @4nd12i

    Could you change your theme to a different one and see if you still have these problems?

    From what I see, you have a general issue with WordPress, not with our theme.

    This is the support forum for the Inspiro theme, and we can only help you with issues related to or caused by our theme.

    Maybe you want to ask for help in the WordPress support category?
    https://wordpress.org/support/forum/how-to-and-troubleshooting/

    Also, your debug log includes no mention of files from our theme.

    Pavel

Viewing 1 replies (of 1 total)

The topic ‘Media Library Is Going Wrong’ is closed to new replies.