• Resolved JJ

    (@jjtristargroup)


    Hi,

    First off, love the plug-in, does exactly what it says without extra bloat.

    Now, the reason I made this topic. On our site we’ve disabled the WP cron and made an actual cronjob on the server. This cronjob is currently showing a repeated PHP notice.

    See below the notice:
    PHP Notice: Trying to access array offset on value of type null in /wp-content/plugins/theme-switcha/inc/plugin-core.php on line 81

    Currently this line is this:
    if (!$options['enable_plugin']) return $current;

    I believe this notice can be prevented if this is changed to:
    if (!isset($options['enable_plugin']) || !$options['enable_plugin']) return $current;

    Could this please be implemented?

    Kind Regards,
    JJ

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Cron PHP Notice’ is closed to new replies.