• Resolved stevygee1987

    (@stevygee1987)


    Hello,
    when I tried to update the plugin settings on a fresh WordPress install, I got this error:

    Fatal error: Unsupported operand types in (path)\wp-content\plugins\portfolio\portfolio.php on line 393

    I found out that this only occurs if WordPress Permalinks are disabled. It works fine otherwise. But others might not figure this out..

    https://www.ads-software.com/extend/plugins/portfolio/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi stevygee1987,

    here problem is with two associative arrays addition, because in php two associative arrays can’t be perform addition action. it should be merge in one another.so comment line no. 393 by // in start of this line.

    and add the following code below it.

    if($rules)
    {
    return array_merge($newrules, $rules);
    }

    this will solve your problem. thanks

    Plugin Author bestwebsoft

    (@bestwebsoft)

    Hello,

    Thank you for this information. We are going to fix this bug in our new plugin version.

    Kind regards,
    Support Team

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Saving Portfolio Settings gives Fatal Error if Permalinks are disabled’ is closed to new replies.