Title: Fatal Errors when using PHP above 7.4
Last modified: April 8, 2022

---

# Fatal Errors when using PHP above 7.4

 *  Resolved [Matt](https://wordpress.org/support/users/mhuntdesign/)
 * (@mhuntdesign)
 * [4 years ago](https://wordpress.org/support/topic/fatal-errors-when-using-php-above-7-4/)
 * After clicking on the PDF download button, we get…
 * Fatal error: Array and string offset access syntax with curly braces is no longer
   supported in wp-content/plugins/pdf-print/mpdf/mpdf.php on line 2349
 * There are many instances. and more on
    /wp-content/plugins/pdf-print/mpdf/classes/
   grad.php
 * WordPress Version 5.9.3
    PDF & Print by BestWebSoft Version 2.3.0
 * PDFs only work with this option selected:
    Full Page Capture to PDF
 * More info here:
    [https://stackoverflow.com/questions/59158548/array-and-string-offset-access-syntax-with-curly-braces-is-deprecated](https://stackoverflow.com/questions/59158548/array-and-string-offset-access-syntax-with-curly-braces-is-deprecated)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Support [andrewsupport](https://wordpress.org/support/users/andrewsupport/)
 * (@andrewsupport)
 * [3 years, 12 months ago](https://wordpress.org/support/topic/fatal-errors-when-using-php-above-7-4/#post-15550846)
 * Hi,
 * Follow the next steps in order to upgrade the MPDF library manually via FTP:
   
   1) Download and install FTP client (for example, Filezilla). 2) Open the FTP 
   client and enter your FTP access credentials (host, username, and password) to
   access files on your server. 3) Navigate to ‘yourwordpresswebsite/wp-content/
   plugins’ directory. 4) Delete (remove) ‘mpdf’ folder. 5) Please use this link
   and download the archive. [https://bestwebsoft.com/wp-content/plugins/paid-products/plugins/pdf-print-mpdf/?action=loading_library](https://bestwebsoft.com/wp-content/plugins/paid-products/plugins/pdf-print-mpdf/?action=loading_library)
   6) Unpack the archive and paste the “vendor” folder to ‘wp-content/uploads’ directory.
 * We apologize for the inconvenience and for the delay in updating the plugin.
 *  Thread Starter [Matt](https://wordpress.org/support/users/mhuntdesign/)
 * (@mhuntdesign)
 * [3 years, 12 months ago](https://wordpress.org/support/topic/fatal-errors-when-using-php-above-7-4/#post-15562924)
 * [@andrewsupport](https://wordpress.org/support/users/andrewsupport/) Thank you
   for your response. Would you mind providing more clear instructions for steps
   3, 4 and 6?
 * Step 3: There is no mpdf folder in /plugins. But there is one in “pdf-print’ 
   directory. Did you mean to say navigate to “/wp-content/plugins/pdf-print/”?
 * Step 4: Do you mean to remove the entire mpdf folder from here?
 * Step 6: Paste the vendor folder to uploads? Do you mean that I should be uploading
   the vendor folder to the uploads directory? What about the mpdf folder it was
   part of? does that not need to be anywhere since it was removed in Step 4 and
   then it was not used in Step 5.
 * Is there just a link you can send that has better instructions?
 *  Plugin Support [andrewsupport](https://wordpress.org/support/users/andrewsupport/)
 * (@andrewsupport)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/fatal-errors-when-using-php-above-7-4/#post-15568064)
 * Hi,
 * We apologize for not clear explanation and for any inconvenience that this may
   have caused you.
 * > Step 3: There is no mpdf folder in /plugins. But there is one in “pdf-print’
   > directory. Did you mean to say navigate to “/wp-content/plugins/pdf-print/”?
 * Yes, you are right. We meant the “/wp-content/plugins/pdf-print/” directory.
 * > Step 4: Do you mean to remove the entire mpdf folder from here?
 * Yes, you should remove the entire mpdf folder from “/wp-content/plugins/pdf-print/”
   directory.
 * > Step 6: Paste the vendor folder to uploads? Do you mean that I should be uploading
   > the vendor folder to the uploads directory?
 * Yes, you should paste the “vendor” folder to ‘wp-content/uploads’ directory. 
   You need to use only the vendor folder, which is located in the “mpdf” folder.
 * > What about the mpdf folder it was part of? does that not need to be anywhere
   > since it was removed in Step 4 and then it was not used in
   >  Step 5.
 * No, you don’t need to use it anywhere, since you remove it from the “/wp-content/
   plugins/pdf-print/” directory.
 *  Plugin Support [andrewsupport](https://wordpress.org/support/users/andrewsupport/)
 * (@andrewsupport)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/fatal-errors-when-using-php-above-7-4/#post-15631919)
 * Hi,
 * The plugin has been updated. This issue has been fixed.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Fatal Errors when using PHP above 7.4’ is closed to new replies.

 * ![](https://ps.w.org/pdf-print/assets/icon-256x256.gif?rev=2580392)
 * [PDF & Print by BestWebSoft - WordPress Posts and Pages PDF Generator Plugin](https://wordpress.org/plugins/pdf-print/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pdf-print/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pdf-print/)
 * [Active Topics](https://wordpress.org/support/plugin/pdf-print/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pdf-print/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pdf-print/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [andrewsupport](https://wordpress.org/support/users/andrewsupport/)
 * Last activity: [3 years, 11 months ago](https://wordpress.org/support/topic/fatal-errors-when-using-php-above-7-4/#post-15631919)
 * Status: resolved