• Resolved arturwagnerowski

    (@arturwagnerowski)


    On media list I have error
    Media list is not showing thumbails till this exacly file with error.
    In list mode files all loading, but error remains.
    “Fatal error: Uncaught Error: Call to undefined function wp_get_upload_dir() in /home/deemeed/domains/deemeed.com/public_html/wp-content/plugins/wp-smushit/lib/class-wp-smush.php:2040 Stack trace: #0 /home/deemeed/domains/deemeed.com/public_html/wp-content/plugins/wp-smushit/lib/class-wp-smush.php(1564): WpSmush->original_file(”) #1 /home/deemeed/domains/deemeed.com/public_html/wp-content/plugins/wp-smushit/lib/class-wp-smush.php(989): WpSmush->show_restore_option(16496, Array) #2 /home/deemeed/domains/deemeed.com/public_html/wp-content/plugins/wp-smushit/lib/class-wp-smush-admin.php(1129): WpSmush->set_status(16496, false) #3 /home/deemeed/domains/deemeed.com/public_html/wp-content/plugins/wp-smushit/lib/class-wp-smush-admin.php(252): WpSmushitAdmin->smush_status(16496) #4 /home/deemeed/domains/deemeed.com/public_html/wp-includes/plugin.php(235): WpSmushitAdmin->filter_attachment_fields_to_edit(Array, Object(WP_Post)) #5 /home/deemeed/domains/deemeed.com/public_html/wp-admin/includes/media.php(1649): apply_filters(‘attac in /home/deemeed/domains/deemeed.com/public_html/wp-content/plugins/wp-smushit/lib/class-wp-smush.php on line 2040″

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Predrag – WPMU DEV Support

    (@wpmudev-support1)

    Hi @arturwagnerowski,

    Sorry to hear about this, I have already forwarded your issue to the developer so he can check it out but in the meantime could you check few things.

    Can you try reinstalling the plugin first just so we can be sure there wasn’t any hiccup during the initial installation that caused missing files?

    If that doesn’t help can you tell us version of WP and PHP you’re using so we can try testing in same conditions?

    Cheers,
    Predrag

    Hi @arturwagnerowski,

    wp_get_upload_dir() is a WordPress function, so there are chances that their are some issues with your WordPress install. Just to eliminate that doubt, could you possibly go to “Dashboard -> Updates” section in your WordPress admin area.

    In the screen click over “Re-install Now” below the WordPress updates headline.

    Attaching a screen for reference.

    https://monosnap.com/file/zPGz4RKnI1ehvuH30eYKPI0zmJvrRT

    Cheers, Umesh

    Thank you for using Smush. Just checking in to make sure this fixed the error. I am going to mark this topic resolved because we haven’t heard from you in a while. If this issue was not resolved we can reopen the ticket. Thanks again!

    • This reply was modified 7 years, 9 months ago by jdailey.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Smushit file fatal error’ is closed to new replies.