Support » Plugin: KP Fastest Tidio Chat » Use of undefined constant KPFTC_SLUG

  • Resolved alx359

    (@alx359)


    Got a number of these in debug.log:

    PHP Warning: Use of undefined constant KPFTC_SLUG - assumed 'KPFTC_SLUG' (this will throw an Error in a future version of PHP) in /wp-content/plugins/kp-fastest-tidio-chat/includes/kpftc-admin-footer.php on line 6

    KPFTC_SLUG is defined in function kpftc_admin_style( $hook ) but that function attaches itself to admin_enqueue_scripts, which seems too late for add_filter('admin_footer_text', 'kpftc_change_admin_footer') where KPFTC_SLUG is being referred. Some code reorganization appears necessary.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Use of undefined constant KPFTC_SLUG’ is closed to new replies.