umleitungsfehler / redirect erro
-
hi
great plugin. on local dev it works like charme.
however on my live server it does not.
after enabling it gives 404 for https://mydomain.com/my-cpt/postname/
and a redirect error for https://mydomain.com/postname/
any idea?
thank you
best
David
hello,
so what’s the difference between your dev and live server?
Are you sure it’s correctly migrated?
Try to resave permalinks.
Anything in debug.log?
hi kubiq
local: xampp
live: Server architecture Linux 4.19.56-x86_64-jb1 x86_64
Web server nginx/1.14.0
PHP version 7.2.24-0ubuntu0.18.04.4 (Supports 64bit values)
PHP SAPI fpm-fcgi
PHP max input variables 1000
PHP time limit 30
PHP memory limit 256M
Max input time 60
Upload max filesize 2M
PHP post max size 8M
migration is complete
permalinks resaved -> no effect
404 page sais
Notice: Trying to get property ‘ID’ of non-object in /srv/nodeforum.org:theme-repo/wp-content/themes/node/functions.php on line 215
the redirect error is obviously a browser mechanism
so? It is clear there is some problem in your theme:
/wp-content/themes/node/functions.php on line 215
go and solve it and test it again 😉
or let me know what is there
that line is trying to access the $post->ID which appears not be present I guess. its the same functions.php as on local dev
$thumbnail = na_get_the_featured_image($post->ID, true);
its part of a function that writes some header infos depended on the postid using global $post
So there is obviously some problem.
If you’re not a programmer, you should hire someone to fix your errors and then probably everything will work.
This seams not to be plugin related issue.
So if you can replicate this issue on wpsandbox or somewhere where I can access files, then I can take a look on it
Another possibility is that I can offer you my help as freelancer, so I can analyse your website, fix errors, and find problems…
- You must be logged in to reply to this topic.