The tag has no usage guidance.

learn more… | top users | synonyms (1)

2
votes
3answers
5k views

Strict Standards Error bootstrap navwalker

I am having trouble understanding this error and I've not come across it before, please could someone help? Strict Standards: Declaration of wp_bootstrap_navwalker::start_lvl() should be compatible ...
2
votes
1answer
2k views

Custom query, works, but I get a “Notice: Undefined offset: 0…”

My custom query works, but in debugging mode I get this error: Notice: Undefined offset: 0 in /storage/content/24/150624/mydomain.com/public_html/wp/mysite/wp-includes/query.php on line 2232 This ...
2
votes
1answer
510 views

Recommend a guide to catching plugin errors, please?

I'm working on a small plugin and on some WP installations it throws up the white screen of death. I'm new to this, and would like to know if there is a decent guide out to there (so far my googling ...
2
votes
3answers
1k views

An Unexpected HTTP Error occurred during the API request

I just did a clean install of Wordpress. But I have a problem when I install or use the WordPress API. So send me a sign An Unexpected HTTP Error occurred during the API request. The strange ...
2
votes
3answers
993 views

Getting Warnings & Notices from Fresh WordPress 3.1.2 install

I just installed WordPress 3.1.2, I got `Notice: automatic_feed_links is deprecated since version 3.0! Use add_theme_support( 'automatic-feed-links' ) instead. in ...
2
votes
1answer
1k views

Fatal error: Call to undefined function wpsc_cart_item_count()

-- I've just done a fresh install of Wordpress 3.4 -- I've downloaded and uploaded this new free eCommerce wordpress theme suggested by smashing magazine. { ...
2
votes
2answers
148 views

How to handle core code throwing notice on valid input?

I have combination of valid input with native WP function throwing PHP notice. In this specific case it is image without extension with image_resize(). This is usually suppressed by WP, but it still ...
2
votes
2answers
2k views

Call to undefined function error after adding add_filter to wp-config

I am getting Fatal error: Call to undefined function add_filter() in example.com/wp-config.php on line 20 after adding add_filter( 'auto_update_plugin', '__return_true' ); to wp-config.php My ...
2
votes
2answers
4k views

Undefined offset: 0 in > […] /wp-includes/capabilities.php on line 1067

Hey I get this error messages on my localhost setup, but only with the Genesis Framework enabled; WordPress Twenty Eleven works fine. This happens when I want to create a new post. If I refresh the ...
2
votes
1answer
156 views

Sql syntax error

Sometimes in my error log i have this error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 ...
2
votes
4answers
2k views

How to fix strange 500 Error after Editing Menu?

I have strange situation which just started which I seem to be unable to resolved. I am not sure what this might be related to but I think I remember reading somewhere that this has happened to ...
2
votes
1answer
40 views

How do you install the automattic developer plugin under localhost for mamp when there is an error, deprecated?

The WordPress Importer plugin is throwing the following warnings: Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; WP_Import has a deprecated ...
2
votes
1answer
53 views

How to work around “that email address has already been used” error?

The following error may occur if a previous registration remains pending with a conflicting email address. That email address has already been used. Please check your inbox for an activation ...
2
votes
2answers
115 views

Dashboard Disappears after Upgrade

Following a recent upgrade to WP and MySQL one site that has a custom built plugin throws a Fatal error: Fatal error: Cannot re-assign auto-global variable _REQUEST in ...
2
votes
2answers
4k views

Call to undefined function get_header() in index.php

I am trying to create a theme. I created a header.php file and call this file in index.php using <?php get_header();?> When I try to run my index.php file it shows this error: Call to ...
2
votes
1answer
3k views

Setting 404 page in Nginx

I am using this page (http://wiki.nginx.org/WordPress) to setup my WordPress on a nginx/php-fpm server. Everything is okay, except the 404 page When I request www.example.com/foo, it send me the ...
2
votes
1answer
62 views

Whole bunch of errors on WP website - media upload, edit slugs, edit screen not working [closed]

I am having a problem which I didn't meet before. I took a client website for just a small bunch of modifications, so I wasn't there when WordPress was installed or when the theme was developed. But ...
2
votes
1answer
172 views

PHP Notices appear when browsing any page in admin, but only for child theme, using code from WP Codex

My php_error.log in my console (locally on OSX) is reporting 3 PHP Notices. The PHP Notices only appear when browsing each admin page in the back-end for a site (running multisite) that uses a child ...
2
votes
3answers
370 views

WP Database Error (Windows Server 2008 & SQL Server)

I have a WP site up and running for my wife and she attempted to install a text widget that linked to her Twitter account (she says HTML was taken from Twitter.com). I am not sure exactly what she ...
2
votes
1answer
4k views

List Category Posts plugin upgrade fails with fatal error

I just tried an automatic upgrade of List Category Posts plugin to version 0.17.2 on WordPress 3.0.5. I think I had 0.17.1 before. It installed but failed to activate: Plugin could not be activated ...
2
votes
2answers
427 views

WP Cron and wp_insert_post

I'm trying to insert posts using a cron job, but I keep running into errors where WP is missing functions (is_user_logged_in, wp_get_current_user). Is there a proper way to run wp_insert_post using a ...
2
votes
2answers
187 views

Dashboard Whitescreen of Death?

I can login into the Dashboard and see the menu of the left, it shows that there are 7 plugin updates and a WordPress update required but on the right I have a blank screen, I can see the update to ...
2
votes
1answer
3k views

Why Better WP security plugin returns 418 I'm a Teapot “error”?

I am working on the Wordpress website and all of a sudden after deploying it on the server, I started seeing a problem where some of the pages on my website return 418 I'm a Teapot as Response status ...
2
votes
2answers
389 views

Gallery Only Displaying One Thumbnail

My image galleries are showing only one thumbnail in the post the gallery sits in. http://themeforward.com/demo2/2013/03/08/image-gallery/ My single.php markup can be found here: ...
2
votes
2answers
2k views

echo do_shortcode is not working on theme's template

I don't know whats causing the problem but the echo do_shortcode is not working on my theme's template, but its working on my plugin's template and the shortcode is working on my posts and pages. ...
2
votes
1answer
593 views

WP_Error handles errors, but how can I show success with a message?

My script accesses an api to populate posts. I can add any errors to the WP_Error class, but can I add success messages to a global variable?
2
votes
2answers
4k views

Error 101 after upgrading Wordpress

We have just updated to WordPress 3.1.3 by following the WP manual install tutorial. Note: This is a Network-enabled (multi-site) install. After uploading the new files, we now get the following ...
2
votes
1answer
282 views

Displaying oEmbed errors?

Sometimes embedding an item via oEmbed is not possible, for example when a YouTube video has embedding disabled. The oEmbed service will return a 401 Unauthorized, and the code will not be converted. ...
2
votes
1answer
94 views

Seaweed Plugin not working

I have installed the Seaweed (Wordpress Plugin). I have successfully installed it and I can able to edit the content. But the save function is not functioning popularly. when I clicked on the "save ...
2
votes
1answer
27 views

How to resolve error “Cookies are blocked due to unexpected output.”?

I am facing an error as per below at admin panel login. "ERROR: Cookies are blocked due to unexpected output." I've tried several solutions like, Log checking (No logs are showing in log file) ...
2
votes
0answers
78 views

How should I handle errors within a plugin?

Building my first serious attempt of a Wordpress plugin. I'm not sure how I should handle errors. I really just want to give the user some kind of message that the variable is wrong instead of ...
2
votes
1answer
232 views

error establishing a database connection

I know this question is asked like a million times, but I can't find an answer for my problem. This problem is happening in a user of my server (my father's blog actually), and as he told me: "Just ...
2
votes
0answers
1k views

Should I use spl_autoload_register() in my plugin?

When I use spl_autoload_register in my plugin, I get: Fatal error: Uncaught exception 'LogicException' with message 'Class wp_atom_server could not be loaded' ...
2
votes
0answers
107 views

Continue javascript execution when errors occurs [duplicate]

I use the WP native function wp_enqueue_script() for all my JavaScripts loading both in WP front and back-end so it can handle duplicated calls to the same script and so on. One of the issues is that ...
2
votes
1answer
253 views

How can I see the error generated by plugin activation?

I'm developing a plugin and upon activation, I get the following error: The plugin generated xxx characters of unexpected output during activation How can I see what unexpected output is ...
2
votes
2answers
3k views

Plugin.php: PHP Notice: Undefined offset: 0 in

I moved a WordPress site from one domain to another and there were a lot of white spaces that needed to be removed. The only problem that is left are the following errors: PHP Notice: Undefined ...
2
votes
5answers
5k views

Trying to get property of non-object in wp-includes/capabilities.php

Once a minute I get the following notice sequence in debug.log: [23-Oct-2012 13:27:33 UTC] PHP Notice: Trying to get property of non-object in mysite/wp-includes/capabilities.php on line 1022 ...
1
vote
3answers
139 views

Does WordPress have a built in reference to the PHP version its running under? [closed]

I have a plugin that has a single method that requires PHP5. How can I code around the fact that the server may have PHP4? Code is below... (I'm thinking its the DOMDocument object that's freezing ...
1
vote
2answers
187 views

How can I find the cause of theme crashing Apache in Xampplite?

I'm testing a version of my theme in WordPress 3.0 and it crashes Apache each time I try to preview it. Where can I look to trace the cause of the crash? WP_DEBUG is of no use in this case, since it ...
1
vote
4answers
3k views

What is causing this error? “Warning: Invalid argument”

I need urgent help figuring this out please - I've been working on a WordPress theme locally without problems, and now that I've uploaded it to the live server I'm getting this error: Warning: ...
1
vote
2answers
326 views

Allowed Memory Size Error in WordPress

My WordPress is always down. I contacted my host and they said that the server is fine. My WordPress site has some basic plugins which are all in one seo seo search tagging google xml robots.txt ...
1
vote
2answers
267 views

Can WordPress email the admin about PHP errors, while hiding them from the site?

Is it possible to have WordPress email the site administrator whenever a PHP error message is displayed? Ideally the message would also be filtered out of the HTML output, so as to avoid information ...
1
vote
2answers
129 views

Weird problems after recovery from security breach

The shared server that I used for hosting my WordPress website was hacked recently, and many of the index.php files, plugin files and uploads were deleted, with my MySQL databases untouched. But after ...
1
vote
1answer
2k views

$wpdb variable throw this error Call to a member function get_results() on a non-object in

I've this error "Call to a member function get_results() on a non-object in" from this code: require_once($_SERVER['DOCUMENT_ROOT'] . $folder . '/wp-config.php'); ...
1
vote
1answer
871 views

Catch own Exceptions

I build some package with my own Exception but when I try to catch a exception I got fatal error: Uncaught exception. This situation is only when method with throw is passed by add_action( 'init', ...
1
vote
4answers
3k views

WordPress Redirecting to wp-admin/install.php

Am working on my WordPress site. I changed font color of my site then I have refreshed my page but it redirects to wp-admin/install.php. What can I do now? How can I get access to my site?
1
vote
1answer
4k views

tb_show is not defined in advance custom field

I am using the plugin: Advanced Custom Fields. For several more images, I used it to add images using the image input field. Now, when I edit a post, I can't edit/add new image into the image field ...
1
vote
2answers
112 views

WP Site Only Shows Javascript for Main Page

I have a wordpress site that, for some users, they only see a blank page. In fact, they only get some sort of javascript (below). I've tried deactivating all plugins and changing the theme; I still ...
1
vote
1answer
377 views

Notice: Undefined index: filter in …wp-includes/default-widgets.php on line 382

I'm getting this message on a WP 3.2.1 install with PHP version 5.2.17 Notice: Undefined index: filter in /home/netstewp/public_html/wp-includes/default-widgets.php on line 382 Any idea why?
1
vote
1answer
281 views

File available but giving 404 in wordpress

Hey, im not sure why but php files other then wordpress either redirects to homepage or gives a 404. for example i have a timthumb.php in directory /js/ it was working fine and generating ...