Use of undefined constant KPFTC_SLUG
-
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 infunction kpftc_admin_style( $hook )
but that function attaches itself toadmin_enqueue_scripts
, which seems too late foradd_filter('admin_footer_text', 'kpftc_change_admin_footer')
whereKPFTC_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.