Closed (fixed)
Project:
Page Title
Version:
6.x-2.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Reporter:
Created:
16 Feb 2009 at 20:32 UTC
Updated:
12 Jul 2011 at 15:41 UTC
notice: Undefined variable: output in /*****/*****/public_html/d6dev/sites/all/modules/page_title/page_title.module on line 38.
The above is presented on the home page after installation and on the administer screen twice.
This is the Feb 9 6.x-2.x-dev release.
Comments
Comment #1
nicholasthompsonCheers - I can see why this would happen. I need to make my error outputting more verbose when developing ;-) Sounds like you have E_ALL enabled which is why its producing "notice" level errors. Notice errors are (usually) completely safe to ignore. In this case, PHP is complaining that we're returning
$outputfrom hook_help but we've not defined what$outputIS for this page...Comment #2
vm commentedE_All is indeed enabled and I know I can suppress the notices however, Drupal core is pursuing E_ALL compatibility and contrib modules should want to pursue as well.
reference: http://drupal.org/node/189454 though there were deeper discussions about removing the E_NOTICE flags from core.
Comment #3
nicholasthompsonYup ;-) Hence me saying...
Comment #4
nicholasthompsonComment #5
suryaprakash commentedI will solve
Comment #6
nicholasthompsonI've been doing work on the module (6.x-2.x-dev) with E_ALL on my dev box running 5.2.9 and I'm not getting errors... Is this fixed? Can you produce any errors?
Comment #7
nicholasthompsonchanging the title for future reference...
Comment #8
vm commentedI will retest and report.
Comment #9
nicholasthompsonI have been running E_ALL recently and haven't seen any errors.