• Resolved Gμ?rD???

    (@guardian74)


    Since this morning out of the blue I have been getting this error each time in the middle of composing I click Preview or Update and I don’t understand why; since nothing substantial that would result in this has happened to the current setup.

    The error is as follows:

    Warning: in_array() expects parameter 2 to be array, null given in /wp-content/plugins/pdf-print/pdf-print.php on line 430

    Warning: in_array() expects parameter 2 to be array, null given in /wp-content/plugins/pdf-print/pdf-print.php on line 431

    Warning: Cannot modify header information – headers already sent by (output started at /wp-content/plugins/pdf-print/pdf-print.php:430) in /wp-includes/pluggable.php on line 1210

    While I understand the technicality of what is happening, I don’t understand the context that is causing it; that I cannot reconcile or understand.

    I came here hoping that it had been raised already and there is a solution but since I didn’t see any, decided to post this and see if we can figure it out. Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author bestwebsoft

    (@bestwebsoft)

    Hi!

    Please try to do the following:
    1) Go to the plugin settings page;
    2) Find the block of options “Add Button to” (https://prntscr.com/frfkwo) and mark necessary checkboxes;
    3) Click “Save changes”;
    4) Check the plugin work.

    If you still notice the same issue, please complete the following steps in order to detect the problem and find its solution:

    1) Try to activate a standard WordPress theme for a while (Twenty Fourteen, Twenty Fifteen or Twenty Sixteen) and check if the problem remains.
    2) Try to deactivate all of your plugins except PDF&Print by BestWebSoft and also check if the problem is still present. If it is not, activate the plugins one-by-one, meanwhile checking, after which plugin activation the problem appears again.
    3) Provide your System status. Follow the next instruction – https://docs.google.com/document/d/1Wi2X8RdRGXk9kMszQy1xItJrpN0ncXgioH935MaBKtc

    Let us know about the results.

    Thread Starter Gμ?rD???

    (@guardian74)

    I appreciate the reply and I have already done the first part and the options are still there, unless its showing one thing and in reality they are not set, which would be worrisome for a plugin. Hopefully the “redesigned” settings page is not the reason for it.

    As for the second part, while I appreciate the kitchen sink approach to troubleshooting as much as the next guy, that machete approach is neither feasible for us, nor desired given the insignificance of the plugin in the scope of the whole site.

    So at this moment we have just switched it off, should an update come out we’ll take another look. Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Post Update/Preview Breaks’ is closed to new replies.