wpDiscuz - WordPress Comment Plugin
Fata error: Uncaugh...
 
Share:
Notifications
Clear all

Fata error: Uncaught TypeError: array_merge()

5 Posts
2 Users
0 Likes
79 Views
Posts: 2
Topic starter
(@gvnstech)
New Member
Joined: 2 weeks ago

Hi all,

After attempting to update wpDiscuz to version 7.5.3, we are getting the following error when trying to activate it.

 

Fatal error: Uncaught TypeError: array_merge(): Argument #2 must be of type array, string given in

~/wp-content/plugins/wpdiscuz/class.WpdiscuzCore.php:1580 Stack trace: #0

~/wp-content/plugins/wpdiscuz/class.WpdiscuzCore.php(1580): array_merge(Array, '1') #1

~/wp-content/plugins/wpdiscuz/class.WpdiscuzCore.php(1409): WpdiscuzCore->addNewOptions('1') #2

~/wp-content/plugins/wpdiscuz/class.WpdiscuzCore.php(224): WpdiscuzCore->pluginNewVersion() #3

~/wp-content/plugins/wpdiscuz/class.WpdiscuzCore.php(198): WpdiscuzCore->activateWpDiscuz() #4

~/wp-includes/class-wp-hook.php(308): WpdiscuzCore->pluginActivation('') #5 ~/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array) #6

~/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #7 ~/wp-admin/plugins.php(194): do_action('activate_wpdisc...') #8 {main} thrown in

~/wp-content/plugins/wpdiscuz/class.WpdiscuzCore.php on line 1580

 

WordPress is running PHP 8.0.22.  We cannot activate the plugin due to this error.

Any help is appreciated!

4 Replies
Asti
Posts: 5957
 Asti
Support
(@asti)
Illustrious Member
Joined: 5 years ago

We'll check and let you know very soon. 

Reply
1 Reply
Asti
 Asti
Support
(@asti)
Joined: 5 years ago

Illustrious Member
Posts: 5957

@gvnstech,

Could you please export the wpDiscuz option from the Dashboard > wpDiscuz > Tools > Backup Options and send it to us?

image

Once you export them a download button will be available.

We don't find such an issue on our test websites. 

Reply
Posts: 2
Topic starter
(@gvnstech)
New Member
Joined: 2 weeks ago

Hello.  I cannot activate the plugin.  Therefore, the wpDiscuz menu option is not found on the Dashboard.  The full error message was previously sent (above).

Screenshot 2023 03 21 at 8.32.56 AM

 

Reply
1 Reply
Asti
 Asti
Support
(@asti)
Joined: 5 years ago

Illustrious Member
Posts: 5957

@gvnstech,

We have to ask you to create a dev/staging copy of your website in some sub-domain and send admin details to info[at]gvectors.com email address.

You can use Duplicator to create that site. 

Reply
Share: