Closed (won't fix)
Project:
jBase5
Version:
7.x-1.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Oct 2011 at 16:10 UTC
Updated:
3 Aug 2013 at 19:59 UTC
I just installed the last version of Drupal 7 (i.e.: Drupal 7.8) and your theme. After a fiew clicks, I got the following error:
Strict warning: Creating default object from empty value in jbase5_preprocess_html() (line 91 of C:\xampp\htdocs\drupal7\sites\all\themes\jbase5\template.php).
This happens when I click on the logo image or the Welcome menu whatever the RDF modul status is (enabled or not).
Any idea?
Thanks in advance for your help
Comments
Comment #1
jacofee commentedI have some more informations on this issue. This seams bound to the environment : I encounter this bug when I run Drupal 7.8 on Windows 7 SP1 + Xampp 1.7.7:
###### ApacheFriends XAMPP version 1.7.7 ######
+ Apache 2.2.21
+ MySQL 5.5.16 (Community Server)
+ PHP 5.3.8 (VC9 X86 32bit thread safe) + PEAR
+ XAMPP Control Panel Version 2.5 from www.nat32.com
Running Drupal 7.8 + jbase 5 on Ubuntu 11 is fine.
Comment #2
jeremycaldwell commentedThanks for the update. I looked locally on my Mac running MAMP and wasn't able to recreate the issue nor on my Linux server so sounds like Windows might be the only thing affected. There isn't anything I can update from the theme side that I know of so marking this issue as "won't fix". If you do find a work-around please let us know.
Comment #3
deryck.henson commentedDisclaimer: I don't give a crap about RDF, my application is going to be internal and not actually web-based.
Not gonna lie, I wouldn't put any faith in my coding methods (turn something off and see what fails) but I fixed it for my local installation doing the following:
jbase5/template.php - replaced this (line 86-96):
with this:
jbase5/templates/html/html.tpl.php - replaced this (line 6-7):
with this:
Literally just did this so not much extensive testing, but clicking all my links went ok.
I'd make a patch, but you really don't want me to try that.
Hope this helps a little.
PS - Drupal-7.10, jbase5-1.5 and disabled RDF.
PPS - You posted this issue on my birthday, crazy. And I also realize you did this on 1.2 but apparently it's made its way to 1.5.
Comment #4
jeremycaldwell commentedComment #5
umit@deryck.henson I tried but it did not. Do you have another solution?