'Why is Elementor is causing my wordpress website to not load?

I'm very new to WordPress and php, I started using it yesterday and it was all going smoothly until I decided to install some starter templates. the installation went as expected but when I visited my website I was faced with:

enter image description here

here are some more details that can help you:

  • I'm using the following plugins ( Elementor, Hello Dolly, Starter Templates,
    WP Memory, WPForms Lite )
  • WordPress is hosted on my Localhost
  • I'm currently using the "Astra" theme as well as the "Love Nature" starter template
  • this issue only happens when the "Elementor" plugin is activated
  • after going to "debug.log" I found the following:
[14-May-2022 15:02:11 UTC] PHP Fatal error:  Uncaught ValueError: Path cannot be empty in E:\WordPress\apps\wordpress\htdocs\wp-includes\media.php:5165
Stack trace:
#0 E:\WordPress\apps\wordpress\htdocs\wp-includes\media.php(5165): getimagesize()
#1 E:\WordPress\apps\wordpress\htdocs\wp-admin\includes\image.php(952): wp_getimagesize()
#2 E:\WordPress\apps\wordpress\htdocs\wp-admin\includes\image.php(484): file_is_displayable_image()
#3 E:\WordPress\apps\wordpress\htdocs\wp-content\plugins\astra-sites\inc\importers\batch-processing\class-astra-sites-batch-processing-misc.php(131): wp_generate_attachment_metadata()
#4 E:\WordPress\apps\wordpress\htdocs\wp-content\plugins\astra-sites\inc\importers\batch-processing\class-astra-sites-batch-processing-misc.php(62): Astra_Sites_Batch_Processing_Misc::image_processing()
#5 E:\WordPress\apps\wordpress\htdocs\wp-content\plugins\astra-sites\inc\importers\batch-processing\helpers\class-wp-background-process-astra.php(41): Astra_Sites_Batch_Processing_Misc->import()
#6 E:\WordPress\apps\wordpress\htdocs\wp-content\plugins\astra-sites\inc\importers\batch-processing\helpers\class-wp-background-process.php(321): WP_Background_Process_Astra->task()
#7 E:\WordPress\apps\wordpress\htdocs\wp-content\plugins\astra-sites\inc\importers\batch-processing\helpers\class-wp-background-process.php(468): WP_Background_Process->handle()
#8 E:\WordPress\apps\wordpress\htdocs\wp-includes\class-wp-hook.php(307): WP_Background_Process->handle_cron_healthcheck()
#9 E:\WordPress\apps\wordpress\htdocs\wp-includes\class-wp-hook.php(331): WP_Hook->apply_filters()
#10 E:\WordPress\apps\wordpress\htdocs\wp-includes\plugin.php(522): WP_Hook->do_action()
#11 E:\WordPress\apps\wordpress\htdocs\wp-cron.php(138): do_action_ref_array()
#12 {main}

here is some other information :

Server Environment:

MySQL version: mariadb.org binary distribution v10.4.24
PHP Version: 8.0.17
PHP Memory Limit: 512M


WordPress Environment:

Version: 5.9.3 Max Upload Size: 40 MB
Memory limit: 40M Max Memory limit: 512M

if you need anymore information please tell me and thank you for your time ❤️



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source