how can solve it?
https://www.ads-software.com/plugins/dw-question-answer/
]]>If I deactivate plugin, site works good.
https://www.ads-software.com/plugins/404-silent-salesman/
]]>Fatal error: Call to a member function get_page_permastruct() on a non-object in /public_html/wp-includes/link-template.php on line 274
Not sure how this happened. Didn’t change anything with my site. I tried downloading a fresh copy of all the Php files and re-uploading them, but the problem still appears to exist.
What should I do to fix this?
]]>$post_array[0][$i]=get_permalink($post['ID']);
so it gives fatal error
Call to a member function get_page_permastruct() on a non-object in D:\www\wp_new\wp-includes\link-template.php on line 275
want all that links with permalinks need solutions.
Thanks.
I took a look at my apache logs and here seems to be the culprit.
[error] [client 127.0.0.1] PHP Fatal error: Call to a member function get_page_permastruct() on a non-object in C:\\Apache\\htdocs\\wp-tb\\wp-includes\\link-template.php on line 139, referer: https://tb.dev/?page_id=3
The curious part is that it posts the info to the database, but gives the page error in IE after that. If I comment out the line: wp_insert_post($tb_form_post);
Everything seems to work fine – except that it isn’t posting to the database.
I was thinking redirect, or link issue? Any ideas?
Thanks.