0

I installed a new theme and I'm getting some warning errors -

Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'emma_load_textdomain' not found or invalid function name in /home1/eyestigmatic/simplygypsea.com/wp-includes/class-wp-hook.php on line 286

Warning: Cannot modify header information - headers already sent by (output started at /home1/eyestigmatic/simplygypsea.com/wp-includes/class-wp-hook.php:286) in /home1/eyestigmatic/simplygypsea.com/wp-admin/includes/misc.php on line 1126

My website is https://simplygypsea.com/ I see the errors in the dashboard and my ipad. Thanks!

0

Your theme is missing this function: emma_load_textdomain. This function is used to load your theme text domain, for internationalization purpose. But by somehow, WordPress can't find it.

You should try contact your theme's developer to fix this. Or if you're familiar with coding, you can try looking for it in your theme functions.php.

Read more about theme text domain: https://codex.wordpress.org/Function_Reference/load_theme_textdomain

  • I don't think the theme's developer is going to help. I opened functions.php. I see this on line 8 - add_action( 'after_setup_theme', 'emma_load_textdomain' ); – Melissa Sep 29 '18 at 17:01
  • If you're site is written in English and you need a very quick fix, you can comment it out by adding // at the beginning of the line to get rid of that warning. – Tung Du Sep 30 '18 at 8:12
  • I'm sorry, I'm not any good at php. I don't understand. Now the website doesn't work. It says Warning: Cannot modify header information - headers already sent by (output started at /home1/eyestigmatic/simplygypsea.com/wp-includes/class-wp-hook.php:286) in /home1/eyestigmatic/simplygypsea.com/wp-includes/pluggable.php on line 1219 – Melissa Oct 2 '18 at 1:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.