admin管理员组文章数量:1122846
I've recently put up a clients website and all was fine, however a few days later I'm returning to finish a few things up and the footer is gone from the homepage! It's showing on all other pages, just not the homepage. I've tested it out by deactivate all 13 plugins and the doing a hard refresh but it didn't seem to update or change anything. I've checked the source code as well but can't seem to find anything other than the my #footer has been completely removed.. Here is my site for reference.
If anyone could shed some light on as to what may be happening I would be greatly appreciative!
UPDATE:
After adding this:
define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', true);
to my theme I've got the debug.log up it's referencing this line
[18-Nov-2015 01:53:48 UTC] PHP Fatal error: Call to undefined function the_excerpt_reloaded() in /services/webpages/b/e/benchmarkdata.ca/public/wp-content/themes/BenchMark/index.php on line 69
[18-Nov-2015 01:53:54 UTC] PHP Fatal error: Call to undefined function the_excerpt_reloaded() in /services/webpages/b/e/benchmarkdata.ca/public/wp-content/themes/BenchMark/index.php on line 69
but I've never heard of it before. Does this error look familiar to anyone?
I've recently put up a clients website and all was fine, however a few days later I'm returning to finish a few things up and the footer is gone from the homepage! It's showing on all other pages, just not the homepage. I've tested it out by deactivate all 13 plugins and the doing a hard refresh but it didn't seem to update or change anything. I've checked the source code as well but can't seem to find anything other than the my #footer has been completely removed.. Here is my site for reference.
If anyone could shed some light on as to what may be happening I would be greatly appreciative!
UPDATE:
After adding this:
define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', true);
to my theme I've got the debug.log up it's referencing this line
[18-Nov-2015 01:53:48 UTC] PHP Fatal error: Call to undefined function the_excerpt_reloaded() in /services/webpages/b/e/benchmarkdata.ca/public/wp-content/themes/BenchMark/index.php on line 69
[18-Nov-2015 01:53:54 UTC] PHP Fatal error: Call to undefined function the_excerpt_reloaded() in /services/webpages/b/e/benchmarkdata.ca/public/wp-content/themes/BenchMark/index.php on line 69
but I've never heard of it before. Does this error look familiar to anyone?
Share Improve this question edited Nov 18, 2015 at 1:58 kia4567 asked Nov 17, 2015 at 6:20 kia4567kia4567 2258 silver badges23 bronze badges 5 |1 Answer
Reset to default 0So what ended up happenign was I was working with an older hand made theme and the main wordpress hadn't been updated in a while. After updating the
<php the_excerpt_reloaded(35, '<p><b><i><u><em><strong><blockquote><a><ol><ul><li>', 'content', TRUE, 0); ?>
they had in the index.php file was obsolutelt as Pieter Goosen stated. I then had to find out how I was supposed to update this snippet with a new code. In comes
<?php the_excerpt() ?>
So what I've learned from this first experience of really looking for the issues is ALWAYS set your debug to true and go to the file and line it states, then play with some different alternatives and of course it's always nice to have help! Thanks guys! Google. Google helps too.
本文标签: My footer has disappeared but only on my home page
版权声明:本文标题:My footer has disappeared but only on my home page 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736288863a1928183.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
the_excerpt_reloaded()
is a function that does not exist. Trying to call a function that does not exist leads to such fatal errors – Pieter Goosen Commented Nov 18, 2015 at 4:55