After enabling the contentanalysis and contentoptimizer modules, i go to admin/config/content/contentanalysis, check the "Display inline reports only." option and save configuration.

Then, I edit a node, and when clicking on the "Analyze content" link, i'm redirected to a blank screen with this URL "admin/contentanalysis/analyze_js". When I click on the browser's back button an reload the edit node page, i see this PHP notice:

Notice: Undefined index: code in contentanalysis_analyze_js() (line 457 of .../sites/all/modules/contentanalysis/contentanalysis.module).
Notice: Undefined index: code in contentanalysis_analyze_js() (line 458 of .../sites/all/modules/contentanalysis/contentanalysis.module).

It seems to work ok when "Display both dialog and inline reports." option is checked.

I'm facing this problem with Drupal core's 7.38 version, contentanalysis 7.x-1.0-beta7 version and contentoptimizer 7.x-2.0-beta4 version.

Comments

GoddamnNoise’s picture

Hi again,

An update about this problem: i've updated the contentanalysis version to the 7.x-1.x-dev version, but the problem persists.

I've been debugging and the problem is that the $_POST array is empty and has no 'code' key. Any ideas about why this is happening?. Can some of the module mantainers point me in the right direction to solve the problem?.