Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Joy 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,662 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,662 PointsNo worries.