WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [Plugin: All in One SEO Pack] changed line to avoid PHP Notice (1 post)

  1. djbe
    Member
    Posted 2 years ago #

    Hello,

    I've modified a line in the great All in One SEO plugin (v. 1.6.13.8), this is very tiny but prevents an "Undefined index" PHP Notice in Debugging mode in WP 3.3.1:

    modified line 717 of all_in_one_seo_pack.php:

    if( ( array_key_exists('aiosp_enabled', $_POST) && $_POST['aiosp_enabled'] == null && array_key_exists('aiosp_enabled', $aioseop_options) && $aioseop_options['aiosp_enabled']!='1') || ( array_key_exists('aiosp_enabled', $_POST) && $_POST['aiosp_enabled']=='0') ) {

Topic Closed

This topic has been closed to new replies.

About this Topic