Critical error
-
Hi, I just installed the plugin and created a new page. When I select the iFrame option I get a critical error on my website. I tried the download option but that only gives a blank page. Could you please advice what I could try to solve this issue?
-
Hi @enna123,
Are you able to get the full and actual error? It’s working on 5 or 6 sites that have it enabled that I pulled up off the top of my head. Also, the download method is hit or miss depending on the settings of both sites. Iframe is generally the preferred method these days due to cross browser/CORS type issues.
If you can get me the full error, I’m happy to help try and diagnose this!Thanks for your quick response! This is the info from the debug.log file (I deleted my domain name below)
[19-Sep-2024 15:59:56 UTC] PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function woodmart_wp_title(), 1 passed in /public_html/wp-includes/class-wp-hook.php on line 324 and exactly 2 expected in /public_html/wp-content/themes/woodmart/inc/functions.php:601
Stack trace: 0 /public_html/wp-includes/class-wp-hook.php(324): woodmart_wp_title() 1 /public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters() 2 /public_html/wp-content/plugins/content-mask/content-mask.php(1657): apply_filters() 3 /public_html/wp-content/plugins/content-mask/content-mask.php(1768): ContentMask->get_iframe_head() 4 /public_html/wp-content/plugins/content-mask/content-mask.php(1861): ContentMask->get_page_iframe() 5 /public_html/wp-content/plugins/content-mask/content-mask.php(1958): ContentMask->show_post() 6 /public_html/wp-includes/class-wp-hook.php(324): ContentMask->process_page_request() 7 /public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 8 /public_html/wp-includes/plugin.php(517): WP_Hook->do_action() 9 /public_html/wp-includes/template-loader.php(13): do_action() 10 /public_html/wp-blog-header.php(19): require_once(‘/home/deb8012n2…’) 11 /public_html/index.php(17): require(‘/home/deb8012n2…’) 12 {main}thrown in /public_html/wp-content/themes/woodmart/inc/functions.php on line 601
[19-Sep-2024 16:01:56 UTC] PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function woodmart_wp_title(), 1 passed in /public_html/wp-includes/class-wp-hook.php on line 324 and exactly 2 expected in /public_html/wp-content/themes/woodmart/inc/functions.php:601
Stack trace: 0 /public_html/wp-includes/class-wp-hook.php(324): woodmart_wp_title() 1 /public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters() 2 /public_html/wp-content/plugins/content-mask/content-mask.php(1657): apply_filters() 3 /public_html/wp-content/plugins/content-mask/content-mask.php(1768): ContentMask->get_iframe_head() 4 /public_html/wp-content/plugins/content-mask/content-mask.php(1861): ContentMask->get_page_iframe() 5 /public_html/wp-content/plugins/content-mask/content-mask.php(1958): ContentMask->show_post() 6 /public_html/wp-includes/class-wp-hook.php(324): ContentMask->process_page_request() 7 /public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 8 /public_html/wp-includes/plugin.php(517): WP_Hook->do_action() 9 /public_html/wp-includes/template-loader.php(13): do_action() 10 /public_html/wp-blog-header.php(19): require_once(‘/home/deb8012n2…’) 11 /public_html/index.php(17): require(‘/home/deb8012n2…’) 12 {main}thrown in /public_html/wp-content/themes/woodmart/inc/functions.php on line 601
[19-Sep-2024 16:03:30 UTC] PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function woodmart_wp_title(), 1 passed in /public_html/wp-includes/class-wp-hook.php on line 324 and exactly 2 expected in /public_html/wp-content/themes/woodmart/inc/functions.php:601
Stack trace: 0 /public_html/wp-includes/class-wp-hook.php(324): woodmart_wp_title() 1 /public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters() 2 /public_html/wp-content/plugins/content-mask/content-mask.php(1657): apply_filters() 3 /public_html/wp-content/plugins/content-mask/content-mask.php(1768): ContentMask->get_iframe_head() 4 /public_html/wp-content/plugins/content-mask/content-mask.php(1861): ContentMask->get_page_iframe() 5 /public_html/wp-content/plugins/content-mask/content-mask.php(1958): ContentMask->show_post() 6 public_html/wp-includes/class-wp-hook.php(324): ContentMask->process_page_request() 7 /public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 8 /public_html/wp-includes/plugin.php(517): WP_Hook->do_action() 9 /public_html/wp-includes/template-loader.php(13): do_action() 10 /public_html/wp-blog-header.php(19): require_once(‘/home/deb8012n2…’) 11 /public_html/index.php(17): require(‘/home/deb8012n2…’) 12 {main}thrown in /public_html/wp-content/themes/woodmart/inc/functions.php on line 601
Ahh that’s immensely helpful, thank you!
I believe I was able to locate and fix the issue. I pushed up version 1.8.5.2 that should take care of it. If it doesn’t, feel free to send another error log and I’ll look further!It’s working now, thank you so much!
- You must be logged in to reply to this topic.