Plugin works only after emptying tmp folder (continued)
-
I looked into this a little further and found out that with WP Engine’s hosting, all WP permissions are locked to 775 for directories and 664 for files.
I’m getting PHP errors like this: PHP Fatal error: Uncaught MpdfException: Can’t open file /nas/content/live/xxx/wp-content/plugins/wp-mpdf/cache/tmp/dejavusanscondensed.GSUBGPOStables.dat in /nas/content/live/xxx/wp-content/plugins/wp-mpdf/mpdf/classes/otl.php:297\nStack trace:\n#0 /nas/content/live/xxx/wp-content/plugins/wp-mpdf/mpdf/mpdf.php(16212): otl->applyOTL(‘Variable Freque…’, 255)\n#1 /nas/content/live/xxx/wp-content/plugins/wp-mpdf/wp-mpdf.php(251): mPDF->WriteHTML(‘</p> <header cl…’)\n#2 /nas/content/live/xxx/wp-content/plugins/wp-mpdf/wp-mpdf.php(477): mpdf_output(‘<p>\\t <html><…’, true, true, ”, ‘/nas/content/li…’)\n#3 [internal function]: mpdf_exec(true)\n#4 /nas/content/live/xxx/wp-includes/class-wp-hook.php(286): call_user_func_array(‘mpdf_exec’, Array)\n#5 /nas/content/live/xxx/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)\n#6 /nas/content/live/xxx/wp-includes/plugin.php(465): WP_Hook->do_action(Array)\n#7 /nas/content/live/xxx/wp-includes/template-loader.php( in /nas/content/live/xxx/wp-content/plugins/wp-mpdf/mpdf/classes/otl.php on line 297, referer: https://www.xxx.com/spec-sheets/variable-frequency-drive-tc-er-vfd-variable-frequency-drive-tc-er-variable-frequency-drive-cable.html
Is there any other work-around to get the plugin working again other than having the cache folder permission set to 777? Thanks!
- The topic ‘Plugin works only after emptying tmp folder (continued)’ is closed to new replies.