Skip to content

PHP 8 Compatibility  #6

@Moc

Description

@Moc

Needs some fixes:

Fatal error: Uncaught TypeError: array_merge(): Argument #1 must be of type array, bool given in e107_plugins\events2bots\providers\discord_class.php:610 
Stack trace: 
#0 e107_plugins\events2bots\providers\discord_class.php(610): array_merge(false, Array) 
#1 e107_plugins\events2bots\providers\discord_class.php(93): Discord->prepareForum('user_forum_topi...', Array, Array) 
#2 e107_plugins\events2bots\e2b_class.php(154): Discord->init('forum', 'user_forum_topi...', Array, Array)
#3 e107_plugins\events2bots\e2b_class.php(114): events2bots->launchEvent('Discord', 'user_forum_topi...', 'forum', Array, Array) #4 e107_plugins\events2bots\e_event.php(83): events2bots->init('user_forum_topi...', Array) 
#5 e107_handlers\event_class.php(215): events2bots_event->init_e2b(Array, 'user_forum_topi...') 
#6 e107_plugins\forum\forum_class.php(1037): e107_event->trigger('user_forum_topi...', Array) 
#7 e107_plugins\forum\forum_post.php(1243): e107forum->threadAdd(Array, Array)
#8 e107_plugins\forum\forum_post.php(207): forum_post_handler->insertPost() 
#9 e107_plugins\forum\forum_post.php(90): forum_post_handler->processPosted() 
#10 e107_plugins\forum\forum_post.php(1757): forum_post_handler->__construct() 
#11 index.php(69): include_once('C:\\webdev\\www\\c...') #12 {main} thrown in e107_plugins\events2bots\providers\discord_class.php on line 610

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bug reportA problem that should not be happening

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions