Title: PHP errors in apache log
Last modified: January 2, 2019

---

# PHP errors in apache log

 *  Resolved [Feriman](https://wordpress.org/support/users/feriman/)
 * (@feriman)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/php-errors-in-apache-log/)
 * Hi,
 * I found these below lines in error.log of Apache regarding this theme:
 * [Wed Jan 02 12:49:49.348215 2019] [proxy_fcgi:error] [pid 4024:tid 140259497060096][
   client 188.213.49.138:64481] AH01071: Got error ‘PHP message: PHP Fatal error:
   Uncaught Error: Call to undefined function get_header() in /var/www/wp-content/
   themes/storefront/archive.php:10\nStack trace:\n#0 {main}\n thrown in /var/www/
   wp-content/themes/storefront/archive.php on line 10\n’
    [Wed Jan 02 12:49:49.643393
   2019] [proxy_fcgi:error] [pid 4024:tid 140259530630912] [client 188.213.49.138:
   64567] AH01071: Got error ‘Primary script unknown\n’ [Wed Jan 02 12:49:49.933508
   2019] [proxy_fcgi:error] [pid 4119:tid 140259429918464] [client 188.213.49.138:
   64772] AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught Error: Call
   to undefined function language_attributes() in /var/www/wp-content/themes/storefront/
   header.php:11\nStack trace:\n#0 {main}\n thrown in /var/www/wp-content/themes/
   storefront/header.php on line 11\n’ [Wed Jan 02 12:49:49.935744 2019] [proxy_fcgi:
   error] [pid 4119:tid 140259354384128] [client 188.213.49.138:64778] AH01071: 
   Got error ‘PHP message: PHP Fatal error: Uncaught Error: Call to undefined function
   get_header() in /var/www/wp-content/themes/storefront/index.php:14\nStack trace:\
   n#0 {main}\n thrown in /var/www/wp-content/themes/storefront/index.php on line
   14\n’ [Wed Jan 02 12:49:49.938464 2019] [proxy_fcgi:error] [pid 4119:tid 140259362776832][
   client 188.213.49.138:64735] AH01071: Got error ‘PHP message: PHP Fatal error:
   Uncaught Error: Call to undefined function get_header() in /var/www/wp-content/
   themes/storefront/404.php:8\nStack trace:\n#0 {main}\n thrown in /var/www/wp-
   content/themes/storefront/404.php on line 8\n’ [Wed Jan 02 12:49:50.703901 2019][
   proxy_fcgi:error] [pid 4024:tid 140259371169536] [client 188.213.49.138:64993]
   AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught Error: Call to undefined
   function get_header() in /var/www/wp-content/themes/storefront/archive.php:10\
   nStack trace:\n#0 {main}\n thrown in /var/www/wp-content/themes/storefront/archive.
   php on line 10\n’ [Wed Jan 02 12:49:51.305334 2019] [proxy_fcgi:error] [pid 4024:
   tid 140259446703872] [client 188.213.49.138:65494] AH01071: Got error ‘PHP message:
   PHP Fatal error: Uncaught Error: Call to undefined function get_header() in /
   var/www/wp-content/themes/storefront/index.php:14\nStack trace:\n#0 {main}\n 
   thrown in /var/www/wp-content/themes/storefront/index.php on line 14\n’ [Wed 
   Jan 02 12:49:51.315028 2019] [proxy_fcgi:error] [pid 4024:tid 140259488667392][
   client 188.213.49.138:65506] AH01071: Got error ‘PHP message: PHP Fatal error:
   Uncaught Error: Call to undefined function get_header() in /var/www/wp-content/
   themes/storefront/404.php:8\nStack trace:\n#0 {main}\n thrown in /var/www/wp-
   content/themes/storefront/404.php on line 8\n’ [Wed Jan 02 12:49:51.320076 2019][
   proxy_fcgi:error] [pid 4024:tid 140259513845504] [client 188.213.49.138:65507]
   AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught Error: Call to undefined
   function language_attributes() in /var/www/wp-content/themes/storefront/header.
   php:11\nStack trace:\n#0 {main}\n thrown in /var/www/wp-content/themes/storefront/
   header.php on line 11\n’
 * Do you know any reason why happening this?
 * Thank you,
    Feriman

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Sean Cull](https://wordpress.org/support/users/seanreloaded/)
 * (@seanreloaded)
 * Automattic Happiness Engineer
 * [7 years, 4 months ago](https://wordpress.org/support/topic/php-errors-in-apache-log/#post-11102263)
 * Hi [@feriman](https://wordpress.org/support/users/feriman/),
 * Could you please share a copy of your site’s System Status? You can find it via
   WooCommerce > Status.
 * Select “Get system report” and then “Copy for support”.  Once you’ve done that,
   paste it here in your response.
 *  Thread Starter [Feriman](https://wordpress.org/support/users/feriman/)
 * (@feriman)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/php-errors-in-apache-log/#post-11102267)
 * Hi,
 * I’m not using WooCommerce.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘PHP errors in apache log’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/storefront/4.6.2/screenshot.png)
 * Storefront
 * [Support Threads](https://wordpress.org/support/theme/storefront/)
 * [Active Topics](https://wordpress.org/support/theme/storefront/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/storefront/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/storefront/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Feriman](https://wordpress.org/support/users/feriman/)
 * Last activity: [7 years, 4 months ago](https://wordpress.org/support/topic/php-errors-in-apache-log/#post-11102267)
 * Status: resolved