This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

Portfolio plugin error if no category selected

  • Creator
    Topic
  • #17872
    askwpgirl
    Participant

    Hi Jason,

    Not a big deal, but might be confusing to some end users:

    If you add a Portfolio Item and you don’t select a Portfolios category (aka taxonomy), then you get the following errors when you view the Portfolio Item:

    Warning: reset() expects parameter 1 to be array, boolean given in/blah/blah/blah/wp-content/plugins/portfolios/tb-portfolios.php on line 589
    
    Notice: Trying to get property of non-object in /blah/blah/blah/wp-content/plugins/portfolios/tb-portfolios.php on line 590
    
    Warning: array_merge(): Argument #2 is not an array in /blah/blah/blah/wp-content/plugins/portfolios/tb-portfolios.php on line 591

    The error goes away if you select a category and update the post.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.