Hi All,
Whenever I enable SEO tools I get whole bunch of errors as per below.. can anybody advise how to fix?
Thank you.
Notice: Use of undefined constant SEOTOOLS_REPORT_DASHBOARD_STYLE_DEFAULT - assumed 'SEOTOOLS_REPORT_DASHBOARD_STYLE_DEFAULT' in include_once() (line 4 of G:\wamp\www\site\sites\all\modules\seotools\seotools.module).
Notice: Use of undefined constant SEOTOOLS_REPORT_DASHBOARD_ROWS_DEFAULT - assumed 'SEOTOOLS_REPORT_DASHBOARD_ROWS_DEFAULT' in include_once() (line 5 of G:\wamp\www\site\sites\all\modules\seotools\seotools.module).
Notice: Use of undefined constant SEOTOOLS_REPORT_STYLE_DEFAULT - assumed 'SEOTOOLS_REPORT_STYLE_DEFAULT' in include_once() (line 6 of G:\wamp\www\site\sites\all\modules\seotools\seotools.module).
Notice: Use of undefined constant SEOTOOLS_REPORT_ROWS_DEFAULT - assumed 'SEOTOOLS_REPORT_ROWS_DEFAULT' in include_once() (line 7 of G:\wamp\www\site\sites\all\modules\seotools\seotools.module).
Comments
Comment #1
kingandy CreditAttribution: kingandy commentedIn case anyone's still using the 6.x branch ... there's four lines at the top of seotools.module which try to define constants using constants as the constant names. They just need quote marks wrapping around the constant names, like so:
Comment #2
technologywon CreditAttribution: technologywon as a volunteer commentedDrupal 6 is no longer supported.
Comment #3
b-reid CreditAttribution: b-reid commentedI am closing this issue because Drupal 6.x has reached EOL and is no longer supported as of February 26th, 2016.
If you are still using the 6.x branch... follow what @kingandy has done above.