Installing the Weather addon
Posted
#1841
(In Topic #355)
Standard member

Code
An error has occurred
PHP NOTICE [8] Undefined variable: block_id in sources_custom/blocks/side_weather.php on line 245 (version: 10 RC30, PHP version: 5.6.29, URL: /)
Here is the stack trace:
Below is a stack trace revealing the state Composr was in when the error occurred. If this represents a bug in the unmodified software, you may want to check Composr website for a fix, and if there isn't one, report this as a bug. Please note that merely posting a stack trace is not sufficient for us to solve your problem; the stack trace is just an aid that presents us with additional information. We still need to know the error message, what you tried to do, how you tried to do it, version numbers, and any other appropriate information.
We apologize for this problem and if it's a bug we hope you will work with us so that we can fix it for you promptly.
File
'/home/kilnandc/public_html/sources/failure.php'
Line
972
Function
'get_html_trace'
Args
File
'/home/kilnandc/public_html/sources/global2.php'
Line
914
Function
'_fatal_exit'
Args
'PHP NOTICE [8] Undefined variable: block_id in sources_custom/blocks/side_weather.php on line 245'
File
'/home/kilnandc/public_html/sources/failure.php'
Line
281
Function
'fatal_exit'
Args
'PHP NOTICE [8] Undefined variable: block_id in sources_custom/blocks/side_weather.php on line 245'
File
'/home/kilnandc/public_html/sources/global2.php'
Line
787
Function
'_composr_error_handler'
Args
'notice'
8
'Undefined variable: block_id'
'sources_custom/blocks/side_weather.php'
245
5
File
'/home/kilnandc/public_html/sources_custom/blocks/side_weather.php'
Line
245
Function
'composr_error_handler'
Args
8
'Undefined variable: block_id'
'/home/kilnandc/public_html/sources_custom/blocks/side_weather.php'
245
array
File
'/home/kilnandc/public_html/sources/zones.php'
Line
1,200
Function
'run'
Class
'Block_side_weather'
Object
O:18:"Block_side_weather":0:{}
Type
'->'
Args
a:5:{s:5:"param";s:8:"12770861";s:4:"unit";s:1:"f";s:8:"max_days";s:1:"3";s:5:"cache";s:1:"0";s:5:"block";s:12:"side_weather";}
File
'/home/kilnandc/public_html/sources/tempcode.php'
Line
1,079
Function
'do_block'
Args
'side_weather'
a:5:{s:5:"param";s:8:"12770861";s:4:"unit";s:1:"f";s:8:"max_days";s:1:"3";s:5:"cache";s:1:"0";s:5:"block";s:12:"side_weather";}
File
'/home/kilnandc/public_html/sources/tempcode.php'
Line
1,774
Function
'handle_symbol_preprocessing'
Args
a:4:{i:0;a:0:{}i:1;i:0;i:2;s:5:"BLOCK";i:3;a:5:{i:0;s:14:"param=12770861";i:1;s:6:"unit=f";i:2;s:10:"max_days=3";i:3;s:7:"cache=0";i:4;s:18:"block=side_weather";}}
NULL
File
'/home/kilnandc/public_html/sources/tempcode.php'
Line
1,191
Function
'handle_symbol_preprocessing'
Class
'Tempcode'
Object
Tempcode -> ...
Type
'->'
Args
File
'/home/kilnandc/public_html/sources/tempcode.php'
Line
1,774
Function
'handle_symbol_preprocessing'
Args
array
NULL
File
'/home/kilnandc/public_html/sources/site.php'
Line
900
Function
'handle_symbol_preprocessing'
Class
'Tempcode'
Object
Tempcode -> ...
Type
'->'
Args
File
'/home/kilnandc/public_html/index.php'
Line
73
Function
'do_site' Args
I'm going to uninstall the block from my left panel, but figured you guys would want to know about this error. Lord knows you have your hands full so I figure that maybe the weather addon hasn't been completely worked out.
Posted

Site director

I believe we fixed this 29 days ago. I think you're using an old version of the addon, probably a few weeks old (as it would have taken us a little time to upload the new version). I just confirmed the new version doesn't have this issue.
Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon
- If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
- If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
- If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
- If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
1 guest and 0 members have just viewed this.