Menu

#150 Bug in /mod/block/class/Block_Item.php

Core Module
open
Code/Logic (73)
5
2010-11-15
2010-11-15
Eloi George
No

Block generated a fatal error in a branch that I just upgraded to 1.7.0

"Fatal error: Class 'Icon' not found in /home/bygeorge/public_html/fallout/mod/block/class/Block_Item.php on line 165"

I fixed it by inserting the following line at the head of the file. However, I'm not sure if this is how you want classes to be loaded.

require_once '/home/bygeorge/public_html/fallout/core/class/Icon.php';

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.