The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
Search
Close
AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
PHP Warning: Undefi...
 
Notifications
Clear all

Bug PHP Warning: Undefined array key

4 Posts
2 Users
0 Reactions
593 Views
Posts: 18
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@happymanuk)
Eminent Member
Joined: 6 years ago
[#10432]

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


3 Replies
Asti
Posts: 8211
 Asti
Support
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@asti)
Illustrious Member
Joined: 8 years ago

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.


Reply
Posts: 18
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@happymanuk)
Eminent Member
Joined: 6 years ago

Thanks @Asti - That should sort out the database errors, but what about the "PHP Warning: Undefined array key" errors ?

 

Thanks


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

Illustrious Member
Posts: 8211
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@happymanuk 

Yes, the issue should be fixed. 


Reply
Share: