Plugin works only after emptying tmp folder (continued again)
-
Hello,
I have a site on WP Engine which is having the exact problem noted in the following thread:
https://www.ads-software.com/support/topic/plugin-works-only-after-emptying-tmp-folder-continued/
I’ve been going through rounds with WP Engine support and they insist that its a problem with the wp-mpdf plugin itself and keep telling me to reach out to the plugin support.
I’ve also tried setting up a cron function to clear the tmp folder on a daily basis and it works for a few PDFs and then the plugin functionality breaks again.
Here’s the main error we’re seeing in the logs:
[Mon Nov 25 16:13:53.885343 2019] [php7:error] [pid 28315] [client 207.46.13.252:42792] PHP Fatal error: Uncaught MpdfException: Can't open file /nas/content/live/yettercoleman/wp-content/plugins/wp-mpdf/cache/tmp/dejavusanscondensed.GSUBGPOStables.dat in /nas/content/live/yettercoleman/wp-content/plugins/wp-mpdf/mpdf/classes/otl.php:297\nStack trace:\n#0 /nas/content/live/yettercoleman/wp-content/plugins/wp-mpdf/mpdf/mpdf.php(16212): otl->applyOTL('Heaven Chee', 255)\n#1 /nas/content/live/yettercoleman/wp-content/plugins/wp-mpdf/wp-mpdf.php(251): mPDF->WriteHTML('</p> <div id="h...')\n#2 /nas/content/live/yettercoleman/wp-content/plugins/wp-mpdf/wp-mpdf.php(477): mpdf_output('<p><!DOCTYPE ht...', true, true, '', '/nas/content/li...')\n#3 /nas/content/live/yettercoleman/wp-includes/class-wp-hook.php(288): mpdf_exec(true)\n#4 /nas/content/live/yettercoleman/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(NULL, Array)\n#5 /nas/content/live/yettercoleman/wp-includes/plugin.php(478): WP_Hook->do_action(Array)\n#6 /nas/content/live/yettercoleman/wp-includes/template-loader.php(13): do_action('template_redire...')\n in /nas/content/live/yettercoleman/wp-content/plugins/wp-mpdf/mpdf/classes/otl.php on line 297
Has anyone identified why this is happening on WP Engine? Is there a fix or something else to try – or is the plugin simply not compatible with their hosting environment?
Thank you,
John
- The topic ‘Plugin works only after emptying tmp folder (continued again)’ is closed to new replies.