selvaje
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Trying to get property ‘post_type’ of non-objectHi nicolasrz,
would be possible to get some suggestions? which other test I can do?
Thanks
GiuseppeForum: Fixing WordPress
In reply to: Trying to get property ‘post_type’ of non-objectHi
have deactivate all the plungin and when I > New > Page or Post I get the same error.
Do you think that can be related with the file permission? Here a snapshot-rw----r-- 1 u89486401 ftpusers 1079118 Jan 20 19:15 dbs1285707-2021-01-20-172519b.sql lrwxrwxrwx 1 u89486401 ftpusers 22 Jan 20 20:55 docs -> ../spatialecology_docs lrwxrwxrwx 1 u89486401 ftpusers 22 Jan 20 20:43 dokuwiki -> ../spatialecology_wiki -rw-r--r-- 1 u89486401 ftpusers 99 Dec 16 12:13 error_log -rw-r--r-- 1 u89486401 ftpusers 757 Dec 16 12:13 hosting_provider_filters.php -rw-r--r-- 1 u89486401 ftpusers 405 Dec 16 12:13 index.php -rw-r--r-- 1 u89486401 ftpusers 19915 Dec 16 12:13 license.txt -rw-r--r-- 1 u89486401 ftpusers 107 Dec 17 21:10 php.ini -rw-r--r-- 1 u89486401 ftpusers 7413 Dec 16 12:13 readme.03049b4236972d59c3ef7980a7e8ef00.html -rw-r--r-- 1 u89486401 ftpusers 7278 Dec 16 12:13 readme.html -rw-r--r-- 1 u89486401 ftpusers 23 Dec 16 12:13 README.md -rw----r-- 1 u89486401 ftpusers 114693558 Jan 20 19:18 spatialecology_blog.sql -rw-r--r-- 1 u89486401 ftpusers 421 Dec 16 12:13 wordfence-waf.php -rw-r--r-- 1 u89486401 ftpusers 7101 Dec 16 12:13 wp-activate.php drwxr-xr-x 9 u89486401 ftpusers 4096 Dec 17 21:11 wp-admin -rw-r--r-- 1 u89486401 ftpusers 351 Dec 16 12:13 wp-blog-header.php -rw-r--r-- 1 u89486401 ftpusers 2328 Dec 16 12:13 wp-comments-post.php -rw-r--r-- 1 u89486401 ftpusers 3193 Jan 26 10:39 wp-config.php -rw----r-- 1 u89486401 ftpusers 3980 Dec 16 12:13 wp-config.php.old -rw----r-- 1 u89486401 ftpusers 3194 Jan 24 12:26 wp-config.php.original -rw-r--r-- 1 u89486401 ftpusers 2913 Dec 16 12:13 wp-config-sample.php drwxr-xr-x 13 u89486401 ftpusers 316 Jan 30 13:32 wp-content -rw-r--r-- 1 u89486401 ftpusers 3939 Dec 16 12:13 wp-cron.php drwxr-xr-x 25 u89486401 ftpusers 8192 Dec 17 21:11 wp-includes -rw-r--r-- 1 u89486401 ftpusers 2496 Dec 16 12:13 wp-links-opml.php -rw-r--r-- 1 u89486401 ftpusers 3300 Dec 16 12:13 wp-load.php -rw-r--r-- 1 u89486401 ftpusers 49831 Dec 16 12:13 wp-login.php -rw-r--r-- 1 u89486401 ftpusers 8509 Dec 16 12:13 wp-mail.php -rw-r--r-- 1 u89486401 ftpusers 20975 Dec 16 12:13 wp-settings.php -rw-r--r-- 1 u89486401 ftpusers 31337 Dec 16 12:13 wp-signup.php -rw-r--r-- 1 u89486401 ftpusers 4747 Dec 16 12:13 wp-trackback.php -rw-r--r-- 1 u89486401 ftpusers 3236 Dec 16 12:13 xmlrpc.phpForum: Fixing WordPress
In reply to: Trying to get property ‘post_type’ of non-objectHi nicolasrz,
this is happening when I’m try to create a new page.
If I modify an existing page (e.g. by adding text) then everything is fine.
One month ago I changed the web-hosting provider and I perform several update of word-press plunging, could be that something when wrong.
Let me know if you need more info from my side.
Best
GiuseppeForum: Fixing WordPress
In reply to: Trying to get property ‘post_type’ of non-objectHi nicolasrz,
do you suggest any other test that I can do it?
Best GiuseppeForum: Fixing WordPress
In reply to: Trying to get property ‘post_type’ of non-objectHi this what i get
string(1) “0”
Notice: Undefined variable: post_ID in /homepages/38/d684553722/htdocs/clickandbuilds/spatialecology/wp-admin/includes/post.php on line 249
NULL
Notice: Trying to get property ‘post_type’ of non-object in /homepages/38/d684553722/htdocs/clickandbuilds/spatialecology/wp-admin/includes/post.php on line 252Notice: Trying to get property ‘post_mime_type’ of non-object in /homepages/38/d684553722/htdocs/clickandbuilds/spatialecology/wp-admin/includes/post.php on line 253
Sorry, you are not allowed to edit this post.I have remove everywhere the &$ but i get the same error.
Thanks for the support
GiuseppeForum: Fixing WordPress
In reply to: Trying to get property ‘post_type’ of non-objectThanks nicolasrz
I have try to insert your lines, but honestly I do not know at which line-level to insert and also the indent level.I have also change the &$_POST to $_POST but with not good results.
I have upload the file here
https://www.dropbox.com/s/228gunl4jp2i3js/post.php
in case you can give a look
Thanks
Giuseppe