Website down due to missing file
-
Hello,
Our website went down due to what seems to be an issue with missing spreadsheet files, which are used as a data source for the plugin’s model. This is the second time this has happened, and I don’t understand why the file disappears from the folder, causing the entire site to crash. Currently, there are two ways to fix it: either re-upload the file or deactivate the plugin.
Is there a way to prevent this from happening again?
Here’s the PHP error log (1.xlsx is the data source) :
Fatal error: Uncaught Box\Spout\Common\Exception\IOException: Could not open /home/clients/XXXXX-XXXXX/web/wp-content/mpg-uploads/1.xlsx for reading! File does not exist. in /home/clients/XXXXX-XXXXX/web/wp-content/plugins/multiple-pages-generator-by-porthas/lib/src/Spout/Reader/ReaderAbstract.php:118
Stack Trace
Box\Spout\Reader\ReaderAbstract->open(‘/home/clients/5…’)
/home/clients/XXXXX-XXXXX/web/wp-content/plugins/multiple-pages-generator-by-porthas/models/DatasetModel.php:128
MPG_DatasetModel::read_dataset(‘/home/clients/5…’)
/home/clients/XXXXX-XXXXX/web/wp-content/plugins/multiple-pages-generator-by-porthas/models/ProjectModel.php:384
MPG_ProjectModel::mpg_generate_urls_from_dataset(‘/home/clients/5…’, ‘{{mpg_slug}}’, ‘-‘, true)
/home/clients/XXXXX-XXXXX/web/wp-content/plugins/multiple-pages-generator-by-porthas/helpers/Helper.php:450
/home/clients/XXXXX-XXXXX/web/wp in /home/clients/XXXXX-XXXXX/web/wp-content/plugins/multiple-pages-generator-by-porthas/lib/src/Spout/Reader/ReaderAbstract.php on line 118
Thank you for your assistance!
- You must be logged in to reply to this topic.