• Resolved davemac

    (@davemac)


    Getting the following PHP Warnings, which are then stopping the edit page from loading with the success message. The post duplications do seem to work, though.

    Warning: file_get_contents(): Filename cannot be empty in /public_html/wp-content/plugins/multisite-post-duplicator/inc/mpd-functions.php on line 1266

    Warning: file_put_contents(/home/doglove/public_html/wp-content/uploads/sites/5/2017/01/.): failed to open stream: Is a directory in /public_html/wp-content/plugins/multisite-post-duplicator/inc/mpd-functions.php on line 1269

    Warning: Cannot modify header information – headers already sent by (output started at /public_html/wp-content/plugins/multisite-post-duplicator/inc/mpd-functions.php:1266) in /home/doglove/public_html/wp-admin/post.php on line 197

    Warning: Cannot modify header information – headers already sent by (output started at /public_html/wp-content/plugins/multisite-post-duplicator/inc/mpd-functions.php:1266) in /home/doglove/public_html/wp-includes/pluggable.php on line 1179

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author MagicStick

    (@magicstick)

    Thanks for the info Dave. I think I know what’s going on here. Will get a fix for this out asap.

    • This reply was modified 7 years, 3 months ago by MagicStick.
    Plugin Author MagicStick

    (@magicstick)

    Just submitted v1.4.1. Should be available any minute now. This update should clear your warnings dave. Sorry about that! 🙂

    Thread Starter davemac

    (@davemac)

    Thank you, really appreciate the quick turn around.

    Will test and let you know.

    Hi,

    I installed the version 1.5.1 an have the same problem, if i try to diplicate a post with pictures (the duplications of the post also work).

    If i do it with a no-picture-post it works without any warning.

    Plugin Author MagicStick

    (@magicstick)

    Hey greg. Thanks for letting me know. If you could paste the error into this thread it would really help me out 🙂

    Hey,

    For example…

    Warning: file_get_contents(): Filename cannot be empty in /kunden/516186_1100/webseiten/wp-content/plugins/multisite-post-duplicator/inc/mpd-functions.php on line 400

    Warning: file_put_contents(/kunden/516186_1100/webseiten/wp-content/uploads/2017/02/): failed to open stream: Is a directory in /kunden/516186_1100/webseiten/wp-content/plugins/multisite-post-duplicator/inc/mpd-functions.php on line 433

    Warning: file_get_contents(): Filename cannot be empty in /kunden/516186_1100/webseiten/wp-content/plugins/multisite-post-duplicator/inc/mpd-functions.php on line 400

    Warning: file_put_contents(/kunden/516186_1100/webseiten/wp-content/uploads/2017/02/): failed to open stream: Is a directory in /kunden/516186_1100/webseiten/wp-content/plugins/multisite-post-duplicator/inc/mpd-functions.php on line 433

    Warning: file_get_contents(): Filename cannot be empty in /kunden/516186_1100/webseiten/wp-content/plugins/multisite-post-duplicator/inc/mpd-functions.php on line 400

    Warning: file_put_contents(/kunden/516186_1100/webseiten/wp-content/uploads/2017/02/): failed to open stream: Is a directory in /kunden/516186_1100/webseiten/wp-content/plugins/multisite-post-duplicator/inc/mpd-functions.php on line 433

    Warning: file_get_contents(): Filename cannot be empty in /kunden/516186_1100/webseiten/wp-content/plugins/multisite-post-duplicator/inc/mpd-functions.php on line 400

    Warning: file_put_contents(/kunden/516186_1100/webseiten/wp-content/uploads/2017/02/): failed to open stream: Is a directory in /kunden/516186_1100/webseiten/wp-content/plugins/multisite-post-duplicator/inc/mpd-functions.php on line 433

    Warning: file_get_contents(): Filename cannot be empty in /kunden/516186_1100/webseiten/wp-content/plugins/multisite-post-duplicator/inc/mpd-functions.php on line 400

    Warning: file_put_contents(/kunden/516186_1100/webseiten/wp-content/uploads/2017/02/): failed to open stream: Is a directory in /kunden/516186_1100/webseiten/wp-content/plugins/multisite-post-duplicator/inc/mpd-functions.php on line 433

    Warning: file_get_contents(): Filename cannot be empty in /kunden/516186_1100/webseiten/wp-content/plugins/multisite-post-duplicator/inc/mpd-functions.php on line 400

    Warning: file_put_contents(/kunden/516186_1100/webseiten/wp-content/uploads/2017/02/): failed to open stream: Is a directory in /kunden/516186_1100/webseiten/wp-content/plugins/multisite-post-duplicator/inc/mpd-functions.php on line 433

    Warning: Cannot modify header information – headers already sent by (output started at /kunden/516186_1100/webseiten/wp-content/plugins/multisite-post-duplicator/inc/mpd-functions.php:400) in /kunden/516186_1100/webseiten/wp-admin/post.php on line 197

    Warning: Cannot modify header information – headers already sent by (output started at /kunden/516186_1100/webseiten/wp-content/plugins/multisite-post-duplicator/inc/mpd-functions.php:400) in /kunden/516186_1100/webseiten/wp-includes/pluggable.php on line 1179

    Plugin Author MagicStick

    (@magicstick)

    THanks for that greg. I can see the issue. Will have a fix pushed out tonight.

    Thanks!

    Thank you!

    No it works!

    Thank you! 🙂

    Plugin Author MagicStick

    (@magicstick)

    oh btw, thanks Gregory! 😉

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Multiple PHP warnings’ is closed to new replies.