Reports > recent log messages generates the following error messages. I'm running:
content analysis beta5
content optimizer beta4
keyword analysis beta3
readability rc2, alchemy beta1
alchemy content analyzer beta1
keyword research alpha3
wordstream beta1
seo tools alpha4
Dependicies for seo tools - redirect beta4, strongarm beta5, insight alpha2
Notice: Undefined index: admin form submit callback in contentanalysis_analyze_js() (line 527 of C:\wamp\www\websites\development\sandbox\sites\all\modules\contentanalysis\contentanalysis.module).
Notice: Undefined index: kwresearch_adult_filter in kwresearch_analyze_js() (line 860 of C:\wamp\www\websites\development\sandbox\sites\all\modules\kwresearch\kwresearch.module).
Notice: Undefined index: messages in theme_contentanalysis_analysis() (line 1225 of C:\wamp\www\websites\development\sandbox\sites\all\modules\contentanalysis\contentanalysis.module).
Notice: Undefined variable: resultstr in alchemy_get_elements() (line 107 of C:\wamp\www\websites\development\sandbox\sites\all\modules\alchemy\alchemy.module).
Notice: Undefined index: #score in contentanalysis_save_status() (line 569 of C:\wamp\www\websites\development\sandbox\sites\all\modules\contentanalysis\contentanalysis.module).
Notice: Undefined index: #score in contentanalysis_save_status() (line 559 of C:\wamp\www\websites\development\sandbox\sites\all\modules\contentanalysis\contentanalysis.module).
Notice: Undefined index: admin form submit callback in contentanalysis_analyze_js() (line 527 of C:\wamp\www\websites\development\sandbox\sites\all\modules\contentanalysis\contentanalysis.module).
Deprecated function: Function split() is deprecated in autokeyword->parse_3words() (line 206 of C:\wamp\www\websites\development\sandbox\sites\all\libraries\autokeyword\class.autokeyword.php).
Deprecated function: Function split() is deprecated in autokeyword->parse_2words() (line 176 of C:\wamp\www\websites\development\sandbox\sites\all\libraries\autokeyword\class.autokeyword.php).
Deprecated function: Function split() is deprecated in autokeyword->parse_words() (line 145 of C:\wamp\www\websites\development\sandbox\sites\all\libraries\autokeyword\class.autokeyword.php).
Notice: Undefined index: inputs in kwresearch_stats_report_form() (line 98 of C:\wamp\www\websites\development\sandbox\sites\all\modules\kwresearch\includes\stats_report.inc).
Many thanks for all your hard work Tom :)
| Comment | File | Size | Author |
|---|---|---|---|
| #17 | contentanalysis-multiple-errors.patch | 1.71 KB | Kevin Rogers |
| #13 | contentanalysis-multiple-errors-1416408-13.patch | 48.46 KB | b-prod |
| #12 | contentanalysis-multiple-errors-1416408-12.patch | 48.25 KB | b-prod |
Comments
Comment #0.0
kingfisher64 commentedExtra information
Comment #1
kingfisher64 commentedHas any progress been made to get rid of the above errors? I ask as i'd like to use the mods listed above in my projects - but can't until the errors are fixed.
Many thanks
Comment #2
mgiffordThis is tied to the version of PHP. Generally not a big deal. Should be just a matter of using http://www.php.net/manual/en/function.preg-split.php
Comment #3
kingfisher64 commentedI'm using php version 5.3.4 - how do i install preg_split?
Many thanks MGifford
Comment #4
mgiffordIt's installed with your version of PHP. You just have to change your code & essentially swap out split() with preg_split(). Maybe this is more helpful to guide you to update the code for the content analysis module - http://tgrove.com/2010/06/01/php-5-3-deprecated-split-function-means-tim...
Comment #5
kingfisher64 commentedMany thanks for taking the time to respond mgifford - it is appreciated - i'll get a later version of php.
Comment #6
kingfisher64 commentedRight the php split issue is fixed. This appeared for me by having php version 5.3.4. I upgraded to latest which at time of writing this is 5.3.9 and they are fixed.
The error log is outputting:
Notice: Undefined index: messages in theme_contentanalysis_analysis() (line 1225 of C:\wamp\www\websites\development\sandbox\sites\all\modules\contentanalysis\contentanalysis.module).Notice: Undefined index: #score in contentanalysis_save_status() (line 569 of C:\wamp\www\websites\development\sandbox\sites\all\modules\contentanalysis\contentanalysis.module).Notice: Undefined index: #score in contentanalysis_save_status() (line 559 of C:\wamp\www\websites\development\sandbox\sites\all\modules\contentanalysis\contentanalysis.module).- x3 errorsNotice: Undefined index: admin form submit callback in contentanalysis_analyze_js() (line 527 of C:\wamp\www\websites\development\sandbox\sites\all\modules\contentanalysis\contentanalysis.module).- x4 error noticesNotice: Undefined index: inputs in kwresearch_stats_report_form() (line 98 of C:\wamp\www\websites\development\sandbox\sites\all\modules\kwresearch\includes\stats_report.inc).Notice: Undefined variable: resultstr in alchemy_get_elements() (line 107 of C:\wamp\www\websites\development\sandbox\sites\all\modules\alchemy\alchemy.module).- x3 timesIs there been any progress made with fixing these error messages? I'm really wanting to use the mods in a default profile install. Thanks
Comment #7
steveb_uk commentedGetting the same errors (minus the 'Function split() is deprecated' errors).
Drupal: 7.12
PHP: 5.3.5
Wysiwyg: 7.x-2.1
TinyMCE: 3.4.8
Content Analysis: 7.x-1.0-beta4 (was about to upgrade to latest version when I came across this issue)
Comment #8
mgifford@kingfisher64 - would be good to have a preg_split patch for this module so this can be fixed in the future. Do you have one to toss up for review?
Comment #9
kingfisher64 commentedSorry I don't have a preg_split patch - I installed a later version of php and the error no longer comes up.
Comment #10
kingfisher64 commentedIs there any chance of a new version with these fixes Tom? I'd really like to use the suite in all my sites - however I can't until those errors are fixed. :)
Many thanks
Comment #11
kingfisher64 commentedWell the messages in #6 are still displaying over 2 and a half months later there's been no sign of any fixes. It would be nice to have a brief response regarding the status of the mod.
Comment #12
b-prod commentedThe patch below:
Let me know if there are still some "undefined variables" errors so I could extend the patch.
Comment #13
b-prod commentedComment #14
kyletaylored commentedI believe a lot of these fixes will be addressed along with the patch listed in #1532734: Finish Running Through Coder.
Comment #15
Kevin Rogers commentedI looked at a few of these undefined index warnings and couldn't see them addresses in #1532734.
I'm running a Drupal site on a server that has error_reporting set to E_ALL, so these notices are cluttering up my log - it would be great to get this patch applied.
Comment #16
Kevin Rogers commentedI looked at a few of these undefined index warnings and couldn't see them addresses in #1532734.
I'm running a Drupal site on a server that has error_reporting set to E_ALL, so these notices are cluttering up my log - it would be great to get this patch applied.
Comment #17
Kevin Rogers commentedHere's a version of the patch in #1416408-13 with the whitespace changes removed, so it just includes the fixes for the undefined index warnings.
Comment #17.0
Kevin Rogers commentedbetter formatting
Comment #18
JulienThomas commentedRegarding kwreasearch, an empty() check remove the warning
sites/all/modules/kwresearch/includes/stats_report.inc
Comment #19
kyletaylored commented