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.
just enabled the 2.x dev and got a boatload of php notices:
* notice: Undefined index: style in /home/public_html/sites/all/themes/adaptivetheme/adaptivetheme/inc/template.theme-overrides.inc on line 106.
* notice: Undefined index: node in /home/public_html/sites/all/themes/adaptivetheme/adaptivetheme/inc/template.preprocess-page.inc on line 115.
* notice: Trying to get property of non-object in /home/public_html/sites/all/themes/adaptivetheme/adaptivetheme/inc/template.preprocess-page.inc on line 115.
* notice: Undefined variable: layout_settings in /home/public_html/sites/all/themes/adaptivetheme/adaptivetheme/templates/page.tpl.php on line 97.
* notice: Undefined variable: skip_nav_class in /home/public_html/sites/all/themes/adaptivetheme/adaptivetheme/templates/page.tpl.php on line 103.
* notice: Undefined variable: active_regions in /home/public_html/sites/all/themes/adaptivetheme/adaptivetheme/inc/template.theme-js.inc on line 29.
* notice: Undefined variable: active_regions in /home/public_html/sites/all/themes/adaptivetheme/adaptivetheme/inc/template.theme-js.inc on line 32.
* notice: Undefined variable: article_id in /home/public_html/sites/all/themes/adaptivetheme/adaptivetheme/templates/node.tpl.php on line 55.
* notice: Undefined variable: unpublished in /home/public_html/sites/all/themes/adaptivetheme/adaptivetheme/templates/node.tpl.php on line 60.
* notice: Undefined variable: article_id in /home/public_html/sites/all/themes/adaptivetheme/adaptivetheme/templates/node.tpl.php on line 55.
* notice: Undefined variable: unpublished in /home/public_html/sites/all/themes/adaptivetheme/adaptivetheme/templates/node.tpl.php on line 60.
* notice: Undefined variable: class in /home/public_html/sites/all/themes/adaptivetheme/adaptivetheme/inc/template.theme-overrides.inc on line 195.
* notice: Undefined variable: class in /home/public_html/sites/all/themes/adaptivetheme/adaptivetheme/inc/template.theme-overrides.inc on line 218.
* notice: Undefined variable: class in /home/public_html/sites/all/themes/adaptivetheme/adaptivetheme/inc/template.theme-overrides.inc on line 195.
* notice: Undefined variable: class in /home/public_html/sites/all/themes/adaptivetheme/adaptivetheme/inc/template.theme-overrides.inc on line 218.
* notice: Undefined variable: class in /home/public_html/sites/all/themes/adaptivetheme/adaptivetheme/inc/template.theme-overrides.inc on line 195.
* notice: Undefined variable: class in /home/public_html/sites/all/themes/adaptivetheme/adaptivetheme/inc/template.theme-overrides.inc on line 218.
* notice: Undefined variable: class in /home/public_html/sites/all/themes/adaptivetheme/adaptivetheme/inc/template.theme-overrides.inc on line 195.
* notice: Undefined variable: class in /home/public_html/sites/all/themes/adaptivetheme/adaptivetheme/inc/template.theme-overrides.inc on line 218.
* notice: Undefined variable: class in /home/public_html/sites/all/themes/adaptivetheme/adaptivetheme/inc/template.theme-overrides.inc on line 195.
* notice: Undefined variable: class in /home/public_html/sites/all/themes/adaptivetheme/adaptivetheme/inc/template.theme-overrides.inc on line 218.
* notice: Undefined variable: block_module_delta in /home/public_html/sites/all/themes/adaptivetheme/adaptivetheme/templates/block.tpl.php on line 32.
* notice: Undefined variable: block_module_delta in /home/public_html/sites/all/themes/adaptivetheme/adaptivetheme/templates/block.tpl.php on line 32.
I'll try to roll a patch tomorrow but i wanted to post this in the meantime.
Comment | File | Size | Author |
---|---|---|---|
#4 | 993094.patch | 988 bytes | jwilson3 |
Comments
Comment #1
WorldFallz CreditAttribution: WorldFallz commentedAnd a bunch more on the theme setting page (even after saving):
Comment #2
WorldFallz CreditAttribution: WorldFallz commentedNot sure what all the
theme_get_setting('cleanup_
calls are for but that seems to be where the problem with tpl.php variables is caused.Comment #3
Jeff Burnz CreditAttribution: Jeff Burnz commentedThis could be cockup on my part due to recent commits, I will need to check, hopefully I'll have time in the next week or so to looking into this. I'm kinda on holiday at the moment until early Jan but I'll make an effort :)
Comment #4
jwilson3Here is a small patch to fix the first error (Undefined index: style) which i encountered on 6.x-2.2.
This was the only error I encountered on 6.x-2.2 while developing with PHP error_reporting set to E_ALL | E_STRICT.
Comment #5
jwilson3Comment #6
asb CreditAttribution: asb commentedIm experiencing similar issues with a freshly set up subtheme of 6.x-3.x-dev, the watchdog log is flooded with errors like
When setting up the subtheme, I followed the instructions from http://adaptivethemes.com/documentation/setting-up-your-6x-2x-subtheme (which might not fully apply to the 3.x branch). I assume that 6.x-3.x-dev is real development stuff and shouldn't be used for production?
Greetings, -asb
Comment #7
Macronomicus CreditAttribution: Macronomicus commentedYea I just upgraded to php 5.2 and now all my sites based on 3.x-dev have this issue.
Comment #8
Macronomicus CreditAttribution: Macronomicus commentedActually it was an upgrade from php 5.2.6 to 5.2.10 ... I upgraded to Lucid which comes with 5.3 but I pinned php back to 5.2.10 lol apparently I needed to go back just a touch more.
Comment #9
Jeff Burnz CreditAttribution: Jeff Burnz commented