dumc477
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: WIDGETS: Array Showing on bottom of webpageThank you SO much for your help on this. Through your prompting, I started looking at all the codes and it started to make sense. I searched for print_r and widgets in the same line, found one, erased it and it seems to have fixed the problem. I wouldn’t recommend this to everyone, but I reached a point where in my frustration, I didn’t care what I was erasing. Taking out: print_r($widgets,true) in one of the widgets’ php worked.
I’ll stop bugging you now. Thanks again!
Forum: Fixing WordPress
In reply to: WIDGETS: Array Showing on bottom of webpageSorry – I did find the word widget, 12thline:
<?php
/**
* The template for displaying the footer.
*
* Contains the closing of the #content div and all content after
*
* @package panoramic
*/
?></div><!– #content –>
<footer id=”colophon” class=”site-footer” role=”contentinfo”>
<div class=”site-footer-widgets”>
<div class=”site-container”><?php if ( is_active_sidebar( ‘footer’ ) ) : ?>
-
<?php dynamic_sidebar( ‘footer’ ); ?>
<?php endif; ?>
<div class=”clearboth”></div>
</div>
</div><div class=”site-footer-bottom-bar”>
<div class=”site-container”>
<div class=”site-footer-bottom-bar-left”>
<?php printf( __( ‘Theme by %1$s’, ‘panoramic’ ), ‘Out the Box‘ ); ?>
</div>
<div class=”site-footer-bottom-bar-right”>
<?php wp_nav_menu( array( ‘theme_location’ => ‘footer’,’container’ => false, ‘fallback_cb’ => false, ‘depth’ => 1 ) ); ?>
</div>
</div>
<div class=”clearboth”></div>
</div></footer><!– #colophon –>
<?php wp_footer(); ?>
</body>
</html>Forum: Fixing WordPress
In reply to: WIDGETS: Array Showing on bottom of webpageOh bother… now I’m WAY over my head.
I looked for </footer><!– #colophon –> and it shows:
</footer><!– #colophon –>
<?php wp_footer(); ?>
</body>
</html>In the entire Code Editor box there are no code words with WIDGET in them…
Do you think the array will go away if I just switch to a new theme? Or is the footer.php going to stay there, no matter which theme I pick?
This is our church website and I’ve made a real mess of things. I need to know how to “reboot” and start from where I was a week ago. Will doing a full restore of our back-up get rid of it? I don’t know what else to do…
Forum: Fixing WordPress
In reply to: WIDGETS: Array Showing on bottom of webpageI searched in my theme (Panoramic) – it’s not there
I searched in all plugins and found a lot results for print_rHere’s an example:
$deprecations = array();
set_error_handler(function ($type, $msg) use (&$deprecations) {
if (E_USER_DEPRECATED === $type) {
$deprecations[] = $msg;
}
});// run your application
print_r($deprecations);
Do I need to delete all lines with “print_r” typed in code?
Forum: Fixing WordPress
In reply to: WIDGETS: Array Showing on bottom of webpageThank you for your quick response. I’ve been googling everything I can to try learn about this on my own and have just become more and more frustrated. Things were going so well with WordPress (awesome program) until this widget list showed up.
1) Went in to String Locator and found the error again.
2) Deleted the line.
3) Re-opened website. Refreshed my browser. List (above) still showing on my webpage.Can I ask for another idea?