I use this snippet for different projects. When I use this snippet together with other modules, I get an PHP error:
Message Undefined variable: types
Line:File 48 : .../modules/wbrandomsection/include.php
I know, this is not a real error, just an notice, but even if I set the PHP messages to E_ALL^E_NOTICE, this mesage still apperars at the web-frontend. Has anybody an idea, how to stop this messages?