SimplePortal
Support => English Support => Topic started by: mrnuke7175 on June 22, 2014, 01:43:53 AM
-
These errors are cluttering up my log files like mad. Any ideas?
I'm running smf v2.0.6 for now. With the latest SP release.
-----------------------------
http://www.ctguntalk.com/smf/index.php?
Apply Filter: Only show the errors with the same message
8: Undefined offset: 0
Apply Filter: Only show the errors from this file
File: /home2/ctguntal/public_html/smf/Sources/PortalBlocks.php(3614) : eval()'d code
Line: 86
--------------------------
-
mrnuke7175,
It sounds as though one of the custom blocks that you use has an undefined array.
You will need to peruse the code in whatever custom php block is causing the issue and emend it.
Regards.
-
Go to Administration Center » Server Settings » General, check Disable evaluation of templates and maybe it will show where do you have problem.
-
If that does not help, then turn off your custom php blocks one at a time until the problem goes away. That will help you narrow things down to find the culprit.
It sounds like you are trying to use element - of an array, but the variable is not an array, or is an empty array with not elements.