Robots module throws error array_key_exists() in multisite
-
In multisite configuration I got error “array_key_exists() expects parameter 2 to be array… in modules/aioseop_robots.php on line 315”, when calling http…/robots.txt
Apparently “$options = get_option(‘aioseop_options’)” in line 311 is not handled for “false” values coming from other blogs. This snippet above line 315 resolved the issue:
if ( $options === false ) { return( array() ); }
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Robots module throws error array_key_exists() in multisite’ is closed to new replies.