Skip to content

TypeError: newbb_search() #142

Description

@cesagonchu

I get an error with latest Newbb module from here because it is the most recent date:
https://github.com/mambax7/newbb
Tested with xSwatch4 and Default themes

1 - When I go to:
/modules/profile/userinfo.php?uid=1
with Newbb module installed
I get this error:

Error: TypeError: newbb_search(): Argument #1 ($queryarray) must be of type array, string given, called in /kernel/module.php on line 334 in file /modules/newbb/include/search.inc.php line 43

2 - When I do a search with Newbb, I get this error:

Error: TypeError: explode(): Argument #2 ($string) must be of type string, int given in file /modules/newbb/search.php line 91

My config:
PHP 8.3.6
MYSQL 8.0.41-0ubuntu0.24.04.1
XOOPS version 2.5.12-Beta6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions