Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Get this error on /admin/settings/contentanalysis
Notice: Undefined variable: analysis in contentanalysis_get_analyzer_form_element() (line 380 of /sites/all/modules/contentanalysis/contentanalysis.module).
Notice: Undefined variable: a in contentanalysis_admin_settings() (line 68 of /sites/all/modules/contentanalysis/contentanalysis.admin.inc).
Comment | File | Size | Author |
---|---|---|---|
#9 | contentanalysis-1242966-6.patch | 216 bytes | Refineo |
#5 | contentanalysis.patch | 3.88 KB | bgilhome |
Comments
Comment #1
wizzardo CreditAttribution: wizzardo commentedIt seems the input should read $params and not $analysis Although I'm getting more problems thereafter
Undefined index: sections in contentanalysis_analysis_form() (line 264 of public_html/home/sites/all/modules/contentanalysis/contentanalysis.module).
Comment #2
Gerto CreditAttribution: Gerto commentedSame here, Drupal 7.8
Comment #3
MGParisi CreditAttribution: MGParisi commentedSubscribe D7.8
Comment #4
kingfisher64 CreditAttribution: kingfisher64 commentedSame issue here.
Subscribe D7.8.
Comment #5
bgilhome CreditAttribution: bgilhome commentedThis patch updates the drupal_get_form calls to Drupal 7 practice, as well as fixing a couple of 'Undefined variable' errors. Analysis now works from the Content Analysis page but not from node edit forms.
Comment #6
Refineo CreditAttribution: Refineo commentedAfter applying the patch to D7.8 + Content Analysis 7.x-1.0-alpha2, I receive 1 notice on node/add/[content-type] and then on frontpage :
There were multiple notice messages before.
Patch: http://drupal.org/files/issues/contentanalysis.patch
Comment #7
jscm CreditAttribution: jscm commentedsubscribe D6.22
Comment #8
Refineo CreditAttribution: Refineo commentedI manually created and applied the small patch below and the notice from #6 disappears.
Comment #9
Refineo CreditAttribution: Refineo commentedHere is the patch, I couldn't add to the previous comment #8.
Comment #10
jscm CreditAttribution: jscm commented@refineo - When will be this patch inside a new official release?
Comment #11
Refineo CreditAttribution: Refineo commented@TomDude48 should decide as it is his project. The patch should be tested first tough.
Comment #12
astutonetThe patch in #9 solve my issue with undefined analysis, but I have more two issues with undefined index, here.
Tks.
Comment #13
revasm CreditAttribution: revasm commentedHaving the same undefined variable and undefined index issues on D7.8. Following and hoping the patch will be incorporated into a new release soon...
Comment #14
TomDude48 CreditAttribution: TomDude48 commentedrefineo, thanks for the patch.
I have a bit of a bad habit of working on bugs I know about without looking at the issue queue. I just did the alpha5 release. Please try that one and let me know if you are having the same problem.