• Resolved Adicto

    (@adicto)


    Hi, just added your Plugin to a new Multisite. When I try to duplicate a page (or post), I always get this error message:

    Warning: Invalid argument supplied for foreach() in /nhldata/749/156749/data/web/web01/htdocs/wp-content/plugins/multisite-post-duplicator/inc/acf-functions.php on line 80

    Warning: Invalid argument supplied for foreach() in /nhldata/749/156749/data/web/web01/htdocs/wp-content/plugins/multisite-post-duplicator/inc/acf-functions.php on line 179

    Warning: Invalid argument supplied for foreach() in /nhldata/749/156749/data/web/web01/htdocs/wp-content/plugins/multisite-post-duplicator/inc/acf-functions.php on line 80

    Warning: Invalid argument supplied for foreach() in /nhldata/749/156749/data/web/web01/htdocs/wp-content/plugins/multisite-post-duplicator/inc/acf-functions.php on line 179

    Warning: Cannot modify header information – headers already sent by (output started at /nhldata/749/156749/data/web/web01/htdocs/wp-content/plugins/multisite-post-duplicator/inc/acf-functions.php:80) in /nhldata/749/156749/data/web/web01/htdocs/wp-admin/post.php on line 197

    Warning: Cannot modify header information – headers already sent by (output started at /nhldata/749/156749/data/web/web01/htdocs/wp-content/plugins/multisite-post-duplicator/inc/acf-functions.php:80) in /nhldata/749/156749/data/web/web01/htdocs/wp-includes/pluggable.php on line 1179

    The posts/pages will be duplicated and the linking seems to work too. But on every change (edit/delete) I always get this error. As long it’s working it wouldn’t be such a big problem for me, but our customer wanted it to be fixed. Do you have an idea what it could be, or how to resolve it?

    We are using ACF Pro Fields for all Posts/Pages on the site…

    Thank you in advance, Christian.

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

    (@magicstick)

    Hi Adicto. I’ll get a fix out for this tonight. Sorry about that.

    Thread Starter Adicto

    (@adicto)

    Hey MagicStick – you are a machine! Thank you very much!!

    Plugin Author MagicStick

    (@magicstick)

    Just committed v1.5.3 Adicto. Should be fixed now. Please report back if not!

    Thread Starter Adicto

    (@adicto)

    Hi MagicStick, thank you very, very much! Just made the update an the error-message… changed. It’s not yet gone, this time it’s another line that causes the error. I’m so sorry.

    Warning: Invalid argument supplied for foreach() in /nhldata/749/156749/data/web/web01/htdocs/wp-content/plugins/multisite-post-duplicator/inc/acf-functions.php on line 191

    Warning: Invalid argument supplied for foreach() in /nhldata/749/156749/data/web/web01/htdocs/wp-content/plugins/multisite-post-duplicator/inc/acf-functions.php on line 191

    Warning: Invalid argument supplied for foreach() in /nhldata/749/156749/data/web/web01/htdocs/wp-content/plugins/multisite-post-duplicator/inc/acf-functions.php on line 191

    Warning: Invalid argument supplied for foreach() in /nhldata/749/156749/data/web/web01/htdocs/wp-content/plugins/multisite-post-duplicator/inc/acf-functions.php on line 191

    Warning: Cannot modify header information – headers already sent by (output started at /nhldata/749/156749/data/web/web01/htdocs/wp-content/plugins/multisite-post-duplicator/inc/acf-functions.php:191) in /nhldata/749/156749/data/web/web01/htdocs/wp-admin/post.php on line 197

    Warning: Cannot modify header information – headers already sent by (output started at /nhldata/749/156749/data/web/web01/htdocs/wp-content/plugins/multisite-post-duplicator/inc/acf-functions.php:191) in /nhldata/749/156749/data/web/web01/htdocs/wp-includes/pluggable.php on line 1179

    Hopefully it’s not a tricky thing to fix!
    Thank you in advance, Christian.

    Plugin Author MagicStick

    (@magicstick)

    And another commit tonight Adicto! Should be fixed now!

    Thread Starter Adicto

    (@adicto)

    Hey MagicStick – you did it! No more errors, works like a charm!
    Thank you very much + all the best, Christian

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Invalid Argument acf-functions.php’ is closed to new replies.