Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialJoy Ahmed
Courses Plus Student 9,687 PointsMy site shows a ugly PHP warning.
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'wpt_enqueue_style' not found or invalid function name in C:\wamp\www\wordpress\wp-includes\plugin.php on line 496.
Please, give me a solution.
2 Answers
Chris Shaw
26,676 PointsHi Joy,
You have a typo which is instead of wp_enqueue_style
you have wpt_enqueue_style
, notice the t shouldn't be there after wp, remove that and you should be good to go.
Happy coding!
Joy Ahmed
Courses Plus Student 9,687 PointsThanks Chris... I jst cleared it up in my functions.php...
Chris Shaw
26,676 PointsNo worries.