Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Sidebars & Widgets (http://forum.bytesforall.com/forumdisplay.php?f=14)
-   -   error report appears directly below widgets on left sidebar (http://forum.bytesforall.com/showthread.php?t=7998)

alfie Jul 7, 2010 01:47 PM

error report appears directly below widgets on left sidebar
 
error report shown directly beneath left sidebar which includes: category drop down list, archives and author list.

error report is displayed in the left sidebar.

error report relates to path
\wp-includes\formatting.php
line 913 warning strtr(0) expect parameter 1 to be a string.

I don't see anyway to troubleshoot this problem without ability to bkpt and set a variable watch ??

WP 2.9.1
Atahualpa 3.4.6

juggledad Jul 7, 2010 04:38 PM

What is the url?

alfie Jul 9, 2010 11:16 AM

sorry but at the moment I cannot provide a url since I am working off-line using xampplite.

juggledad Jul 9, 2010 12:45 PM

well then I would suggest you edit the code and put in lots of php 'Echo' statements displaying what ever you need to to see what is happening.

alfie Jul 12, 2010 09:46 AM

Juggledad

I found the problem. I went back to a previous back-up version and it worked. I then reviewed the problem version and found I had used the plugin custom fields which was actrivated. I de-activated it and the problem dis-appeared.

Thanks for suggestion on using the echo command for such a problem. However, how would I locate the message on the screen?

juggledad Jul 12, 2010 01:42 PM

Quote:

Thanks for suggestion on using the echo command for such a problem. However, how would I locate the message on the screen?
I assume you mean the echo statement. You just look at the screen ant it will be there somewhere, depending on when in teh process of building the screen it is executed.

alfie Jul 13, 2010 09:32 AM

I assume this would be the conventional way to trouble shoot such an error report with wordpress. The one thing that disturbs me is that I now may not be able to use the custom fields plugin (which I will not use) but it could of happened with a pluigin that I need.

For an error echo message would it be possible in the theme to create a bar beloww the footer for error messages. The echo statement would then place message there.

juggledad Jul 13, 2010 09:56 AM

You need to go research the php echo statement and learn how and when it is going to display things. You could write your own routing to display messages into a log or where ever you want.

I have found that using echo statements and understanding the code is enough for me to solve all the issues I have tackled, your milage may vary...


All times are GMT -6. The time now is 07:47 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.