open offset.rb with notepad and in the line :
if (not ((dist.class==Fixnum || dist.class==Float || dist.class==Length) && dist!=0))
return nil
replace Fixnum by Integer and it works.
or simply replace offset.rb in your plugin folder (plugins > AlexHall_SunHours)
offset.rb (4.4 KB)