I just installed WordPress, and my problem resembles Timothy’s. Here are the error messages I have generated so far:
MANAGE: POSTS
Fatal error: Call to a member function on a non-object in
/var/www/html/zapgarden.com/wp-includes/functions.php on line 1059
VIEW SITE:
Fatal error: Call to a member function on a non-object in
/var/www/html/zapgarden.com/wp-includes/functions.php on line 1059
OPTIONS: PERMALINKS
Fatal error: Call to a member function on a non-object in
/var/www/html/zapgarden.com/wp-admin/options-permalink.php on line 37
It doesn’t look like you can use the file upload feature at this time
because the directory you have specified
(/var/www/html/zapgarden.com/wp-content) doesn’t appear to be writable by WordPress. Check the permissions on the directory and for typos.
Any ideas on how to correct this?
I’m not sure about all of your errors but I had this error after uploading a new theme, but I was able to fix it quickly;
Fatal error: Call to a member function on a non-object in /home/xxx/public_html/blog/wp-includes/functions.php on line 1377
I wonder if my solution may be relevant. I’m not a php coder.
I checked the permissions on the new theme dir and they were wrong. When I tried to correct [chmod] via FTP i was blocked, so next step was to chown and chgrp.
This was the solution that removed the error;
root@srv5 [/home/xxxxx/public_html/blog/wp-content/themes]# ls -al
total 20
drwxr-xr-x 5 xxxxx xxxxx 4096 Jun 13 00:55 ./
drwxr-xr-x 4 xxxxx xxxxx 4096 Apr 5 20:21 ../
drwxr-xr-x 2 1000 80 4096 Jan 9 09:27 black/
drwxr-xr-x 2 xxxxx xxxxx 4096 Apr 5 20:21 classic/
drwxr-xr-x 3 xxxxx xxxxx 4096 Apr 5 20:21 default/
root@srv5 [/home/xxxxx/public_html/blog/wp-content/themes]# chown -R xxxxx black
root@srv5 [/home/xxxxx/public_html/blog/wp-content/themes]# chgrp -R xxxxx black
root@srv5 [/home/xxxxx/public_html/blog/wp-content/themes]# ls -al
total 20
drwxr-xr-x 5 xxxxx xxxxx 4096 Jun 13 00:55 ./
drwxr-xr-x 4 xxxxx xxxxx 4096 Apr 5 20:21 ../
drwxr-xr-x 2 xxxxx xxxxx 4096 Jan 9 09:27 black/
drwxr-xr-x 2 xxxxx xxxxx 4096 Apr 5 20:21 classic/
drwxr-xr-x 3 xxxxx xxxxx 4096 Apr 5 20:21 default/
[My real user name is replaced by the xxxxx]
Worth a look maybe.. 🙂
Cheers.
im still getting a message when i log in, i cannot change my wp url in options, I new to wp so i dont know much