• Resolved ThorHammer

    (@thorhammer)


    When turning PHP error messages on, I get this:

    Warning: Invalid argument supplied for foreach() in /path/to/my/site/httpd.www/wp-content/plugins/category-templates/cat-templates.php on line 91

    Warning: Invalid argument supplied for foreach() in /path/to/my/sitehttpd.www/wp-content/plugins/category-templates/cat-templates.php on line 99

    The plugin works, but, these error messages must tell that something is wrong, or?

    http://wordpress.org/extend/plugins/category-templates/

Viewing 2 replies - 1 through 2 (of 2 total)
  • aarongloege

    (@aarongloege)

    Sorry about that. Didn’t force the variable as an array in the foreach() statement, so when it wasn’t, it returned that error.

    Should be fixed in 1.0.4 now. 🙂

    Thread Starter ThorHammer

    (@thorhammer)

    Excellent, the plugin runs without any error. Thanks for a really useful plugin!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘[Plugin: Category Templates] Nice-BUT PHP error’ is closed to new replies.