Jump to content

Featured Replies

Posted

I am getting a php error leading to error 500. Here is the log file.

[12-Mar-2025 20:09:54 UTC] PHP Fatal error: Declaration of IPS\dfsupportsystem\Ticket::getItemsWithPermission(array $where = [], ?string $order = null, array|int|null $limit = 10, string $permissionKey = 'read', int|bool|null $includeHiddenItems = IPS\Content\Filter::FILTER_AUTOMATIC, int $queryFlags = 0, ?IPS\Member $member = null, bool $joinContainer = false, bool $joinComments = false, bool $joinReviews = false, bool $countOnly = false, ?array $joins = null, IPS\Node\Model|bool $skipPermission = false, bool $joinTags = true, bool $joinAuthor = true, bool $joinLastCommenter = true, bool $showMovedLinks = false, ?array $location = null): IPS\Patterns\ActiveRecordIterator|int must be compatible with IPS\Content\Item::getItemsWithPermission(array $where = [], ?string $order = null, array|int|null $limit = 10, ?string $permissionKey = 'read', int|bool|null $includeHiddenItems = IPS\Content\Filter::FILTER_AUTOMATIC, int $queryFlags = 0, ?IPS\Member $member = null, bool $joinContainer = false, bool $joinComments = false, bool $joinReviews = false, bool $countOnly = false, ?array $joins = null, IPS\Node\Model|bool $skipPermission = false, bool $joinTags = true, bool $joinAuthor = true, bool $joinLastCommenter = true, bool $showMovedLinks = false, ?array $location = null): IPS\Patterns\ActiveRecordIterator|int in /home/p/htdocs/site/applications/dfsupportsystem/sources/Ticket/Ticket.php on line 467

  • Replies 2
  • Views 31
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Steph40
    Steph40

    Fix is just changing string $permissionKey='read' to ?string $permissionKey='read' in /applications/dfsupportsystem/sources/Ticket/Ticket.php on line 467

  • Author

Fix is just changing

string $permissionKey='read'

to

?string $permissionKey='read'

in /applications/dfsupportsystem/sources/Ticket/Ticket.php on line 467

  • Administrators

Thanks, IC 5.0.4 will have some BC breaking changes so I'll fix for this version.

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.