Ambrosite Next/Previous Post Link Plus
Array function errors (2 posts)

  1. rhetters
    Posted 1 year ago #

    I'm getting these messages:

    Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/content/53/10102353/html/wp-content/plugins/ambrosite-nextprevious-post-link-plus/ambrosite-post-link-plus.php on line 114

    Warning: array_unique() expects parameter 1 to be array, null given in /home/content/53/10102353/html/wp-content/plugins/ambrosite-nextprevious-post-link-plus/ambrosite-post-link-plus.php on line 114

    Using this code:

    <?php previous_post_link_plus( array(
    	'order_by' => 'custom',
    	'meta_key' => 'EventStartDate',
    	'in_same_tax' => 'public-programs',
    	'format' => '%link &mdash;'
    ) ); ?>

    I can't figure out what's wrong. If I comment out the first three array elements, leaving only the 'format' pair, it works, but the reason I got this plugin was to exclude a taxonomy in the next/previous links.


  2. ambrosite
    Plugin Author

    Posted 1 year ago #

    Are you certain that 'public-programs' is the correct name of your custom taxonomy? The only thing I can see that would cause this problem is an invalid taxonomy.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Ambrosite Next/Previous Post Link Plus
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.