• Hello dear developers,
    No matter what I do or how I filter, I always get a fatal error “There was a critical error on your website.”

    PHP Fatal error: Uncaught TypeError: array_filter(): Argument #1 ($array) must be of type array, string given in
    wp-content/plugins/print-my-blog/src/PrintMyBlog/controllers/LegacyPrintPage.php:284

    Thank you,
    Gösta

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Michael Nelson

    (@mnelson4)

    Hi @skyfly024, sorry you’re getting that error. A bit more info would be helpful in order to debug it: Where are you seeing that error? What did you do before getting it?

    Thread Starter skyfly024

    (@skyfly024)

    Hello,
    I configured normally via “Use Quick Print.” No matter what I choose (paper print, PDF, etc.), selecting Posts, Published, my category “Music News,” date from to, content without featured image…
    After clicking “Prepare Print Page,” the error message “There was a critical error on your website. Learn more about troubleshooting in WordPress” appears after 3-4 seconds.

    Best regards,
    Gösta

    Plugin Author Ryan

    (@ryanvdk)

    Hello Gösta,

    Thank you for answering Mike’s questions.

    I have a couple more questions if you don’t mind:

    1. Is this a new issue or an issue you have experienced since you first installed the plugin?

    2. Am I correct in understanding that this is happening with all your posts and not just a specific post?

    3. Do you know if any of your other plugins affect the WordPress REST API?

    Often, this kind of issue is related to a plugin conflict.

    If possible, from your WordPress backend, could you navigate to Print My Blog > Help, and from the “Help Me Print My Blog” screen, press the “Email Print My Blog Support” button? This will send us a copy of your debug information.

    Thank you for your patience.


    Thread Starter skyfly024

    (@skyfly024)

    Hello,
    I’ve sent the debug information.

    Regards,
    Gösta

    Plugin Author Ryan

    (@ryanvdk)

    Hello Gosta,

    I received your debug information.

    Do you know if any of your plugins create new post statuses other than these: ‘publish’, ‘password’, ‘private’, ‘future’?

    Plugin Author Ryan

    (@ryanvdk)

    From the plugins list in your debug information, I think these plugins might affect the WordPress REST API. Could you please check if there are any settings in these plugins that target the REST API?

    • Advanced Access Manager – Premium Add
    • Advanced Access Manager
    • Security Ninja (Premium)
    • Ultimate Member + Add-ons
Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Fatal Error LegacyPrintPage.php:284’ is closed to new replies.