I've upgraded from the very old version of wpDiscuz to the latest and our error_log file is being filled with the following errors (which were not present on the previous version).
I'm not sure if you are already aware of this or not:
PHP Warning: Undefined array key "wc_spoiler_title" in /home/sitename/public_html/wp-content/plugins/wpdiscuz/options/class.WpdiscuzOptions.php on line 1203
PHP Warning: Undefined array key "wc_cannot_rate_again" in /home/sitename/public_html/wp-content/plugins/wpdiscuz/options/class.WpdiscuzOptions.php on line 1204
PHP Warning: Undefined array key "wc_not_allowed_to_rate" in /home/sitename/public_html/wp-content/plugins/wpdiscuz/options/class.WpdiscuzOptions.php on line 1205
PHP Warning: Undefined array key "wc_confirm_rate_edit" in /home/sitename/public_html/wp-content/plugins/wpdiscuz/options/class.WpdiscuzOptions.php on line 1206
PHP Warning: Undefined array key "wc_copied_to_clipboard" in /home/sitename/public_html/wp-content/plugins/wpdiscuz/options/class.WpdiscuzOptions.php on line 1265
PHP Warning: Undefined array key "wmuPhraseConfirmDelete" in /home/sitename/public_html/wp-content/plugins/wpdiscuz/options/class.WpdiscuzOptions.php on line 1283
PHP Warning: Undefined array key "wmuPhraseNotAllowedFile" in /home/sitename/public_html/wp-content/plugins/wpdiscuz/options/class.WpdiscuzOptions.php on line 1284
PHP Warning: Undefined array key "wmuPhraseMaxFileCount" in /home/sitename/public_html/wp-content/plugins/wpdiscuz/options/class.WpdiscuzOptions.php on line 1285
PHP Warning: Undefined array key "wmuPhraseMaxFileSize" in /home/sitename/public_html/wp-content/plugins/wpdiscuz/options/class.WpdiscuzOptions.php on line 1286
PHP Warning: Undefined array key "wmuPhrasePostMaxSize" in /home/sitename/public_html/wp-content/plugins/wpdiscuz/options/class.WpdiscuzOptions.php on line 1287
PHP Warning: Undefined array key "wmuPhraseDoingUpload" in /home/sitename/public_html/wp-content/plugins/wpdiscuz/options/class.WpdiscuzOptions.php on line 1288
WordPress database error Table 'sitename_site.wp_wc_users_rated' doesn't exist for query SELECT `id` FROM `wp_wc_users_rated` WHERE `user_id` = 13014 AND `post_id` = 37248; made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/astra/single.php'), get_header, locate_template, load_template, require_once('/themes/astra-child/header.php'), wp_head, do_action('wp_head'), WP_Hook->do_action, WP_Hook->apply_filters, wp_enqueue_scripts, do_action('wp_enqueue_scripts'), WP_Hook->do_action, WP_Hook->apply_filters, WpdiscuzCore->frontendFiles, WpdiscuzOptions->getOptionsForJs, WpdiscuzDBManager->isUserRated
WordPress database error Table 'stiename_site.wp_wc_feedback_forms' doesn't exist for query SELECT `id` FROM `wp_wc_feedback_forms` WHERE `post_id` = 37248 LIMIT 1; made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/astra/single.php'), astra_content_loop, do_action('astra_content_loop'), WP_Hook->do_action, WP_Hook->apply_filters, Astra_Loop->loop_markup, do_action('astra_template_parts_content'), WP_Hook->do_action, WP_Hook->apply_filters, Astra_Loop->template_parts_comments, comments_template, require('/plugins/wpdiscuz/themes/default/comment-form.php'), WpdiscuzDBManager->postHasFeedbackForms
Hi,
Please navigate to the Dashboard > Comments > wpDiscuz > Tools admin page, click on the "Database Operations" link, it'll open the "Fix Tables" button. Just click on the button and check again.
In case you want to say thank you! 🙂
We'd really appreciate if you leave a good review on the plugin page.
This is the best way to say thank you to this project and the support team.
Thanks @Asti - That should sort out the database errors, but what about the "PHP Warning: Undefined array key" errors ?
Thanks
Yes, the issue should be fixed.
In case you want to say thank you! 🙂
We'd really appreciate if you leave a good review on the plugin page.
This is the best way to say thank you to this project and the support team.

