Title: Getting Fatal error while activating the plugin
Last modified: March 24, 2025

---

# Getting Fatal error while activating the plugin

 *  Resolved [Mohsin Taufeeque](https://wordpress.org/support/users/foxxrdeveloper/)
 * (@foxxrdeveloper)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/getting-fatal-error-while-activating-the-plugin-2/)
 *     ```wp-block-code
       getting the following error when trying to activate wpdiscuz pluginPHP Fatal error:  Uncaught TypeError: array_merge(): Argument #2 must be of type array, string given in /nas/content/live/junkgone/wp-content/plugins/wpdiscuz/class.WpdiscuzCore.php:1674Stack trace:#0 /nas/content/live/junkgone/wp-content/plugins/wpdiscuz/class.WpdiscuzCore.php(1674): array_merge()#1 /nas/content/live/junkgone/wp-content/plugins/wpdiscuz/class.WpdiscuzCore.php(1503): WpdiscuzCore->addNewOptions()#2 /nas/content/live/junkgone/wp-content/plugins/wpdiscuz/class.WpdiscuzCore.php(242): WpdiscuzCore->pluginNewVersion()#3 /nas/content/live/junkgone/wp-content/plugins/wpdiscuz/class.WpdiscuzCore.php(216): WpdiscuzCore->activateWpDiscuz()#4 /nas/content/live/junkgone/wp-includes/class-wp-hook.php(324): WpdiscuzCore->pluginActivation()#5 /nas/content/live/junkgone/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()#6 /nas/content/live/junkgone/wp-includes/plugin.php(517): WP_Hook->do_action()#7 /nas/content/live/junkgone/wp-admin/includes/plugin.php(703): do_action()#8 phar:///usr/share/wp-cli.phar/vendor/wp-cli/extension-command/src/Plugin_Command.php(382): activate_plugin()#9 [internal function]: Plugin_Command->activate()#10 phar:///usr/share/wp-cli.phar/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CommandFactory.php(100): call_user_func()#11 [internal function]: WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}()#12 phar:///usr/share/wp-cli.phar/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php(497): call_user_func()#13 phar:///usr/share/wp-cli.phar/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(441): WP_CLI\Dispatcher\Subcommand->invoke()#14 phar:///usr/share/wp-cli.phar/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(464): WP_CLI\Runner->run_command()#15 phar:///usr/share/wp-cli.phar/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1296): WP_CLI\Runner->run_command_and_exit()#16 phar:///usr/share/wp-cli.phar/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php(28): WP_CLI\Runner->start()#17 phar:///usr/share/wp-cli.phar/vendor/wp-cli/wp-cli/php/bootstrap.php(83): WP_CLI\Bootstrap\LaunchRunner->process()#18 phar:///usr/share/wp-cli.phar/vendor/wp-cli/wp-cli/php/wp-cli.php(32): WP_CLI\bootstrap()#19 phar:///usr/share/wp-cli.phar/php/boot-phar.php(20): include('...')#20 /usr/share/wp-cli.phar(4): include('...')#21 {main}  thrown in /nas/content/live/junkgone/wp-content/plugins/wpdiscuz/class.WpdiscuzCore.php on line 1674Fatal error: Uncaught TypeError: array_merge(): Argument #2 must be of type array, string given in /nas/content/live/junkgone/wp-content/plugins/wpdiscuz/class.WpdiscuzCore.php:1674Stack trace:#0 /nas/content/live/junkgone/wp-content/plugins/wpdiscuz/class.WpdiscuzCore.php(1674): array_merge()#1 /nas/content/live/junkgone/wp-content/plugins/wpdiscuz/class.WpdiscuzCore.php(1503): WpdiscuzCore->addNewOptions()#2 /nas/content/live/junkgone/wp-content/plugins/wpdiscuz/class.WpdiscuzCore.php(242): WpdiscuzCore->pluginNewVersion()#3 /nas/content/live/junkgone/wp-content/plugins/wpdiscuz/class.WpdiscuzCore.php(216): WpdiscuzCore->activateWpDiscuz()#4 /nas/content/live/junkgone/wp-includes/class-wp-hook.php(324): WpdiscuzCore->pluginActivation()#5 /nas/content/live/junkgone/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()#6 /nas/content/live/junkgone/wp-includes/plugin.php(517): WP_Hook->do_action()#7 /nas/content/live/junkgone/wp-admin/includes/plugin.php(703): do_action()#8 phar:///usr/share/wp-cli.phar/vendor/wp-cli/extension-command/src/Plugin_Command.php(382): activate_plugin()#9 [internal function]: Plugin_Command->activate()#10 phar:///usr/share/wp-cli.phar/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CommandFactory.php(100): call_user_func()#11 [internal function]: WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}()#12 phar:///usr/share/wp-cli.phar/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php(497): call_user_func()#13 phar:///usr/share/wp-cli.phar/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(441): WP_CLI\Dispatcher\Subcommand->invoke()#14 phar:///usr/share/wp-cli.phar/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(464): WP_CLI\Runner->run_command()#15 phar:///usr/share/wp-cli.phar/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1296): WP_CLI\Runner->run_command_and_exit()#16 phar:///usr/share/wp-cli.phar/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php(28): WP_CLI\Runner->start()#17 phar:///usr/share/wp-cli.phar/vendor/wp-cli/wp-cli/php/bootstrap.php(83): WP_CLI\Bootstrap\LaunchRunner->process()#18 phar:///usr/share/wp-cli.phar/vendor/wp-cli/wp-cli/php/wp-cli.php(32): WP_CLI\bootstrap()#19 phar:///usr/share/wp-cli.phar/php/boot-phar.php(20): include('...')#20 /usr/share/wp-cli.phar(4): include('...')#21 {main}  thrown in /nas/content/live/junkgone/wp-content/plugins/wpdiscuz/class.WpdiscuzCore.php on line 1674
       ```
   

Viewing 1 replies (of 1 total)

 *  Plugin Support [gVectors Support](https://wordpress.org/support/users/gvectorssupport/)
 * (@gvectorssupport)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/getting-fatal-error-while-activating-the-plugin-2/#post-18383755)
 * Hi,
 * This issue will be fixed in the upcoming version of the wpDiscuz plugin.

Viewing 1 replies (of 1 total)

The topic ‘Getting Fatal error while activating the plugin’ is closed to new replies.

 * ![](https://ps.w.org/wpdiscuz/assets/icon-256x256.png?rev=1076265)
 * [Comments - wpDiscuz](https://wordpress.org/plugins/wpdiscuz/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpdiscuz/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpdiscuz/)
 * [Active Topics](https://wordpress.org/support/plugin/wpdiscuz/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpdiscuz/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpdiscuz/reviews/)

## Tags

 * [activating plugin](https://wordpress.org/support/topic-tag/activating-plugin/)

 * 1 reply
 * 2 participants
 * Last reply from: [gVectors Support](https://wordpress.org/support/users/gvectorssupport/)
 * Last activity: [1 year, 1 month ago](https://wordpress.org/support/topic/getting-fatal-error-while-activating-the-plugin-2/#post-18383755)
 * Status: resolved