• Resolved lieska

    (@lieska)


    Kadence theme and pdf embedder – now can’t edit widgets anymore. Here is the email alert we get:
    Error Details
    =============
    An error of type E_ERROR was caused in line 602 of the file /var/www/vhosts/myaddress.fi/httpdocs/wp-content/plugins/pdf-embedder/src/Admin/Admin.php. Error message: Uncaught TypeError: PDFEmbedder\Admin\Admin::render_page_footer(): Argument #1 ($text) must be of type string, null given, called in /var/www/vhosts/myaddress.fi/httpdocs/wp-includes/class-wp-hook.php?on line 324 and defined in /var/www/vhosts/myaddress.fi/httpdocs/wp-content/plugins/pdf-embedder/src/Admin/Admin.php:602
    Stack trace:
    #0 /var/www/vhosts/myaddress.fi/httpdocs/wp-includes/class-wp-hook.php(324): PDFEmbedder\Admin\Admin->render_page_footer()
    #1 /var/www/vhosts/myaddress.fi/httpdocs/wp-includes/plugin.php(205): WP_Hook->apply_filters()
    #2 /var/www/vhosts/myaddress.fi/httpdocs/wp-admin/admin-footer.php(48): apply_filters()
    #3 /var/www/vhosts/myaddress.fi/httpdocs/wp-admin/index.php(212): require_once(‘…’)
    #4 {main}
    ?thrown

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @lieska,

    Thanks for reaching out!

    From the error message you shared, it seems the render_page_footer function in the Admin.php file is expecting a string argument, but it is receiving null. This issue is preventing you from editing widgets.

    Please check the following to troubleshoot:

    1. Ensure that both the Kadence theme and the PDF Embedder plugin are updated to their latest versions. The latest PDF Embedder (Lite) version is 4.8.2.
    2. Check for Plugin Conflicts by temporarily deactivating all other plugins except PDF Embedder and switch to a default WordPress theme (like Twenty Twenty-One) to see if the issue persists. If the problem is resolved, reactivate the plugins and theme one by one to identify the conflicting element.

    I hope this helps. Thanks ??

    Hi @lieska,

    We haven’t heard back from you yet, so I’ll be closing this thread for now.

    If you still run into any issues, please feel free to reply, and we’ll take a look. 

    Have a good one ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.