• Resolved Patrick Jackson

    (@patrickjackson)


    In version 1.10.1, there’s a PHP error being triggered on line 37 of capsman-enhanced.php due to the foreach not being supplied an array.

    Current Line 37:
    foreach (get_option('active_plugins') as $plugin_file) {

    Adding (array) before get_option function resolves the issue:

    New Line 37:
    foreach ((array)get_option('active_plugins') as $plugin_file) {

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘PHP Error on campsman-enhanced.php’ is closed to new replies.