My Theme Generating this error
-
I am making a theme in which I am using These plugins using TGM plugin installation link to git hub for theme link for github repo of my theme
Advanced Custom Fields
Kirki Customizer Framework
my own plugin for theme
Theme works like thisBefore activating theme we have to install Advanced Custom Fields & Kirki Customizer Framework. and inport there data also. as these plugins get some important values saved in variables that are called on front-page.php and other files.
other wise my theme breaks the website & gives this kind of errors
Fatal error: Uncaught Error: Class ‘Kirki’ not found in C:\Users\xampp\htdocs\wordpress\barber\wp-content\themes\saybers\inc\kirki-config.php:5 Stack trace: #0 C:\Users\xampp\htdocs\wordpress\barber\wp-content\themes\saybers\functions.php(173): require() #1 C:\Users\xampp\htdocs\wordpress\barber\wp-settings.php(497): include(‘C:\Users\xampp\…’) #2 C:\Users\xampp\htdocs\wordpress\barber\wp-config.php(90): require_once(‘C:\Users\xampp\…’) #3 C:\Users\xampp\htdocs\wordpress\barber\wp-load.php(37): require_once(‘C:\Users\xampp\…’) #4 C:\Users\xampp\htdocs\wordpress\barber\wp-admin\admin.php(34): require_once(‘C:\Users\xampp\…’) #5 C:\Users\xampp\htdocs\wordpress\barber\wp-admin\index.php(10): require_once(‘C:\Users\xampp\…’) #6 {main} thrown in C:\Users\xampp\htdocs\wordpress\barber\wp-content\themes\saybers\inc\kirki-config.php on line 5
So what is the best way todo it or improve it and fix it?
- The topic ‘My Theme Generating this error’ is closed to new replies.