Tag: debug

itemprop="url"

Fatal error: Cannot redeclare the_post_thumbnail_caption() (previously declared in …. This error occurs because the_post_thumbnail_caption is a new function in WordPress 4.6.  However, people have been using this function for over 5 years now.  How?  Stackoverflow and other WordPress forums are flooded with

Tagged with: ,

itemprop="url"

In trying to copy over a theme and partially start over I ran into an issue where WordPress wouldn’t show anything but one word, error.  Well, that’s helpful.  Searching the wordpress forums I found that the problem is actually a

Tagged with: ,

itemprop="url"

Problem In a website that gets fonts from Google’s CDN, the browser window loading icon continuously runs.  In Firebug you can see that the WOFF file from google is the culprit.   Solution Turn off Firebug.  Apparently it’s a problem

Tagged with: , , ,

itemprop="url"

I found a great utility plugin to help with adding a Image picker field to a widget.  Basically you install and activate this plugin and you make your own widget and utilize the image field easily. The only problem I

Tagged with: , ,

itemprop="url"

Problem I was developing a plugin for wordpress and receive a messsage: The plugin generated 496 characters of unexpected output during activation Solution I placed the following code at the end of my plugin file, update_option(‘plugin_error’,  ob_get_contents()); then looked in

Tagged with: , , ,

itemprop="url"

Problem I’m using classes and making each class a file. when I’m including dependet classess, I use require_once to avoid multiple declarations – yet I get a Fatal error: Cannot redeclare class…   Solution Make sure all files that require the class have

Tagged with: ,

itemprop="url"

Problem I copy-pasted some Japanese text into the WordPress editor and it shows as ????.  On another server, pasting the same japanese text shows the japanese text on the page.  No plugins seem to be affecting this.  Something with the

Tagged with: ,

itemprop="url"

Some useful tips for debugging wordpress will be listed here for future reference. Display All Hooks If you need to display all hooks, use the command below.  It is useful when trying to find a hook to alter some part

Tagged with: , ,

itemprop="url"

Problem I had a wordpress site where the public side was fine, but the admin side was throwing a Internal Server Error 500 intermittently.   I couldn’t figure out what was wrong since I had done no changes, and my host

Tagged with: , ,

itemprop="url"

Problem I have a div with id “stripe” that is using absolute positioning to be at the top of the page and span 100% of the page width.  It overlays the top part of the website.  The rest of my

Tagged with: , , ,
Top