---
title: 'Internal server error'
url: 'https://getgrav.org/forum/archive/internal-server-error-t3997'
markdown: 'https://getgrav.org/forum/archive/internal-server-error-t3997.md'
date: '2026-06-21'
description: 'Hello there, I have a "one-page site" customized and working fine on my PC. I have uploaded it to my webserver and I got the following error message: Fatal'
---

[Archive](https://getgrav.org/forum/archive)

#  Internal server error 

  Started by Muut Archive 12 years ago · 7 replies · 650 views    

 [12 years ago](https://getgrav.org/forum/archive/internal-server-error-t3997#post-17123 "Permalink") 

Hello there,

I have a "one-page site" customized and working fine on my PC.
I have uploaded it to my webserver and I got the following error message:
Fatal error: Call to a member function get() on a non-object in (...)/system/src/Grav/Common/Debugger.php:31

Any idea of something I did wrong?

Also I'm not sure if I should modify "home: alias: '/home'" in system.yaml. I tried to, but it didn't help.

Thanks for your help!

 [12 years ago](https://getgrav.org/forum/archive/internal-server-error-t3997#post-17124 "Permalink") 

That call is one to get configuration, which appears to be missing somehow. Are you sure you uploaded all the files to your server? Do you have an option to upload a zip file and extract on your server? That might be a safer way, else you should try reuploading the files again.

 [12 years ago](https://getgrav.org/forum/archive/internal-server-error-t3997#post-17125 "Permalink") 

Hi,
thanks for your answer.
I tried several times to upload the files again, but the result was the same.

I have just compared the grav object on the local and the distant site.
They are the same (except for the paths) till the \[uri\] element (between \[debugger\] and \[task\] elements:

Locally I get:

```js
(...)
           [debugger] => Grav\Common\Debugger Object
                (
                )
            [grav] => Grav\Common\Grav Object
 *RECURSION*
            [uri] => Closure Object
                (
                    [parameter] => Array
                        (
                            [$c] => <required>
                       )
                )
            [task] => Closure Object 
                (
                    [parameter] => Array
                        (
                            [$c] => <required>
                        )
                )
(...)
```

On the server, I get:

```html
(...)
[debugger] => Grav\Common\Debugger Object
                (
                )

            [grav] => Grav\Common\Grav Object
 *RECURSION*
            [uri] => 
            [task] =>
 <!-- "' --></script></style></noscript></xmp>
<meta charset="utf-8">
<meta name=robots content=noindex>
<meta name=generator content="Tracy">
<title>Server Error</title>

<div id="tracy-error-body">
<style>
    body { color: #333; background: white; width: 500px; margin: 100px auto }
    h1 { font: bold 47px/1.5 sans-serif; margin: .6em 0 }
    p { font: 21px/1.5 Georgia,serif; margin: 1.5em 0 }
    small { font-size: 70%; color: gray }
</style>

<h1>Server Error</h1>

<p>We're sorry! The server encountered an internal error and
was unable to complete your request. Please try again later.</p>

<p><small>error 500</small></p>
<div>
(...)
```

The first difference is that \[uri\] is empty for the site on the server.
Then, from \[task\] item, I get the HTML for the server error.

Does this help you to know what's going wrong?

Thanks.

 [12 years ago](https://getgrav.org/forum/archive/internal-server-error-t3997#post-17126 "Permalink") 

Hmm.. The fact that it worked on your local, but the same site is having trouble on your hosted server combined with this internal server error message means that something in your .htaccess or PHP configuration is causing it.

[Read the Internal Server Error documentation](http://learn.getgrav.org/troubleshooting/internal-server-error)

Please try these tips first, if that doesn't help we'll need to dig further.

Really the only way to tell exactly what's going on is to read the actual error message in your error logs.

Also some information on the hosting provider would be useful. What kind of host is it? what version of PHP is it running?

 [12 years ago](https://getgrav.org/forum/archive/internal-server-error-t3997#post-17127 "Permalink") 

Hello,

on my PC: PHP 5.4.12 Windows
on my server: PHP 5.4.33 Linux

My server provider is "Webou Pro" (Belgium) using OVH hosting.

The actual error message (in the log folder):

```
[2014-10-15 20-44-14] Fatal error: Call to a member function get() on a non-object in /<my path>/system/src/Grav/Common/Debugger.php:31  @  http://<my url>/  @@  exception-2014-10-19-20-42-21-8c437038e0ef1896af1b30346fd91f60.html
```

The HTML file is empty.

Thanks.

 [12 years ago](https://getgrav.org/forum/archive/internal-server-error-t3997#post-17128 "Permalink") 

I have no idea what could cause this as task should just have POST or GET variable, uri should be either closure or object and fatal error should be impossible as $grav\['config'\] should have been set when the error happens.

Have you tried clearing cache or clean installation in your server?

 [12 years ago](https://getgrav.org/forum/archive/internal-server-error-t3997#post-17129 "Permalink") 

Also by clearing cache, Matias means the CLI command: `bin/grav clear-cache` as that resets a flag to clear memory-based cache as well as any file caches

 [12 years ago](https://getgrav.org/forum/archive/internal-server-error-t3997#post-17130 "Permalink") 

Hello,

thanks for your answers.
I have run clear-cache and now it works fine!

Thanks again for your help.

Regards.

[Log in](https://getgrav.org/login?return=%2Fforum%2Farchive%2Finternal-server-error-t3997) to reply.

###  Suggested topics

 | Topic | Participants | Replies | Views | Activity |
|---|---|---|---|---|
| [About the Archive category](https://getgrav.org/forum/archive/about-the-archive-category-t6942)    [Archive](https://getgrav.org/forum/archive) · by Deleted User, 9 years ago |  | 0 | 2853 | [9 years ago](https://getgrav.org/forum/archive/about-the-archive-category-t6942 "by Deleted User") |
| [Hey buddies!](https://getgrav.org/forum/archive/hey-buddies-t643)    [Archive](https://getgrav.org/forum/archive) · by Muut Archive, 9 years ago |  | 2 | 1870 | [9 years ago](https://getgrav.org/forum/archive/hey-buddies-t643 "by Muut Archive") |
| [There is a way to do a "if condition" in MD page?](https://getgrav.org/forum/archive/there-is-a-way-to-do-a-if-condition-in-md-page-t3377)    [Archive](https://getgrav.org/forum/archive) · by Muut Archive, 9 years ago |  | 2 | 5193 | [9 years ago](https://getgrav.org/forum/archive/there-is-a-way-to-do-a-if-condition-in-md-page-t3377 "by Muut Archive") |
| [Official docker image of grav (+admin +gitsync)](https://getgrav.org/forum/archive/official-docker-image-of-grav-admin-gitsync-t8519)    [Archive](https://getgrav.org/forum/archive) · by Muut Archive, 9 years ago |  | 1 | 4010 | [9 years ago](https://getgrav.org/forum/archive/official-docker-image-of-grav-admin-gitsync-t8519 "by Muut Archive") |
| [Weird Grav + caddy + iOS + https problem](https://getgrav.org/forum/archive/weird-grav-caddy-ios-https-problem-t7837)    [Archive](https://getgrav.org/forum/archive) · by Muut Archive, 9 years ago |  | 3 | 1958 | [9 years ago](https://getgrav.org/forum/archive/weird-grav-caddy-ios-https-problem-t7837 "by Muut Archive") |
