Fatal Error following php upgrade
-
Hi, Everything worked fine then I updated PHP to version 7.4 from 7.0 – as per the message from the waterwoo plugin. Everything else on the site works fine. (This is only a test site so nothing too worrying, but I am going to be pushing this to a site which has php 7.4 already enabled.)
I now can not download the PDF and get the following message:
Fatal error: Uncaught ArgumentCountError: Too few arguments to function write_something_after_waterwoo_writes(), 1 passed in /home/sites/5a/5/57748c9ef1/public_html/wp-includes/class-wp-hook.php on line 310 and exactly 2 expected in /home/sites/5a/5/57748c9ef1/public_html/wp-content/themes/Avada/functions.php:824 Stack trace: #0 /home/sites/5a/5/57748c9ef1/public_html/wp-includes/class-wp-hook.php(310): write_something_after_waterwoo_writes(Object(SS_TCPDI)) #1 /home/sites/5a/5/57748c9ef1/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array) #2 /home/sites/5a/5/57748c9ef1/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #3 /home/sites/5a/5/57748c9ef1/public_html/wp-content/plugins/waterwoo-pdf/classes/wwpdf-watermark.php(65): do_action('wwpdf_after_wri...', Object(SS_TCPDI), 1) #4 /home/sites/5a/5/57748c9ef1/public_html/wp-content/plugins/waterwoo-pdf/classes/wwpdf-watermark.php(20): WWPDF_Watermark->do_watermark() #5 /home/sites/5a/5/57748c9ef1/public_html/wp-content/plugins/ in /home/sites/5a/5/57748c9ef1/public_html/wp-content/themes/Avada/functions.php on line 824
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Fatal Error following php upgrade’ is closed to new replies.