I keep getting an 2 errors that read something like "Notice: Undefined index: sidebar_first in zeropoint_preprocess_html() (line 22 of /hs..........template.php" Please look at the attachment! Please someone help me!

CommentFileSizeAuthor
#12 zeropoint.zip401.41 KBflorian
#12 zeropoint-up.zip13.9 KBflorian
error.JPG32.45 KBBermudez

Comments

Unnamed’s picture

Notice: Undefined index: sidebar_second в функции zeropoint_preprocess_html() (строка 22 в файле /data/www/asystem.org.ua/sites/all/themes/zeropoint/template.php).
Notice: Undefined index: sidebar_second в функции zeropoint_preprocess_html() (строка 57 в файле /data/www/asystem.org.ua/sites/all/themes/zeropoint/template.php).

adrian drupal’s picture

Yes, in my case this is what it says..., and I, I have no idea how to solve this, just bring the error information.

Thank.

--
error message
Notice: Undefined index: sidebar_second in zeropoint_preprocess_html() (line 22 of /HomeHere/...../html_out/file1/file2/sites/all/themes/zeropoint/template.php).
Notice: Undefined index: sidebar_second in zeropoint_preprocess_html() (line 57 of /HomeHere/...../html_out/file1/file2/sites/all/themes/zeropoint/template.php).
--

Anonymous’s picture

I am getting exactly the same problem. It started appearing some time after I installed the theme - perhaps as a result of changing some of the theme settings (but not any code changes to custom css etc..)

florian’s picture

Hi all,
This probably happens only after you put your site from offline back to online. It is normal behavior, at least for the moment. Otherwise you will not get any other errors, I hope.

florian’s picture

Priority: Critical » Minor
adrian drupal’s picture

Hello.
Do not think so because in my case, I have not put the website offline, is under password.

florian’s picture

I cannot reproduce. Can you show me the link or maybe contact me and give me some kind of access to see what is happening?

edunet’s picture

I have the same problem and my website has never been offline.

You can reproduce it at
http://www.seccionpiparra.com/drupal7/node/5

florian’s picture

Right... I can see it now. I have made the user "florian". Is it possible to give me admin rights to see further?

edunet’s picture

Your user is ready.

florian’s picture

Thank you for the access. I know what the problem is and I will solve it asap. As a workaround you can disable error messages here /?q=admin/config/development/logging.

BTW I discovered another bug that I will address in the next release - 0 point user links at the top right corner, showing even if disabled in theme settings.

florian’s picture

StatusFileSize
new13.9 KB
new401.41 KB

I think I have solved all the problems now. Please confirm that everything is working properly by replacing the entire theme (zeropoint.zip) or only the modified files (zeropoint-up.zip). Then, I'll post the next release.

Anonymous’s picture

I uploaded the change only files and the error message has disappeared. Great work - many thanks. Hope others find it worked too.

Florian - can I just say many thanks for the theme - I think it's super. I'm already in touch on another issue and will endeavor to help on it and any other matters where I can.

hovering’s picture

The changes work well, at least in my case.
No errors when upgrading to "zeropoint.zip" :)

Tanks

florian’s picture

I have posted a new version, zeropoint 7.x-1.1. I am waiting for your input.

florian’s picture

Status: Active » Closed (fixed)