The tag has no wiki summary.

learn more… | top users | synonyms (1)

6
votes
3answers
2k views

How should one implement add_settings_error on custom menu pages?

The Professional WordPress Plugin Development book explains in detail how to properly use the Settings API, and it also demonstrates how to add Menus and Submenus, but unfortunately it doesn't provide ...
6
votes
2answers
6k views

Could not create directory /wp-content/upgrade/

When I try to automatically install updates to Wordpress or plugins, I receive an error: An error occurred while updating... Could not create directory .../wp-content/upgrade/... My web host ...
1
vote
1answer
952 views

Warning: in_array() expects parameter 2 to be array, null given

On a freshly built site running version 3.1.3 with the twentyten theme active and no plugins, when I click on "Media" to go the media manager, I'm getting this error: Warning: explode() expects ...
1
vote
2answers
1k views

“Error establishing a database connection” - Intermittent error on GoDaddy

After transferring a working WordPress site to GoDaddy hosting, we've begun getting "Error establishing a database connection" errors on all pages- first intermittently, and now consistently. It's ...
1
vote
2answers
471 views

error: An Unexpected HTTP Error occurred during the API request

I'm using wordpress version 3.1 and if I try to upgrade any plugin on any of my sites I get the error message error: An Unexpected HTTP Error occurred during the API request. Not by upgrading ...
4
votes
3answers
2k views

Why on Earth am I getting “undefined_index” errors?

Right, I'm banging my head against a wall here. I'm sure it's something incredibly simple but I keep getting undefined index errors on all of these variables. function meta_genus_species() { ...
1
vote
1answer
854 views

Parse error: syntax error, unexpected T_ENDWHILE in

After installing this videozoom theme i'm getting this error: Parse error: syntax error, unexpected T_ENDWHILE in /home/moviesa1/public_html/test99 dot ...
0
votes
5answers
835 views

Errors in Add Image Popup, Media Library Tab: “in_array() expects parameter 2 to be array, null given in wp-includes/query.php”

I am getting errors like Warning: explode() expects parameter 2 to be string, array given in /data/www/ae/wp-includes/query.php on line 2390 Warning: in_array() expects parameter 2 to be array, null ...
13
votes
7answers
22k views

Cannot access non-wordpress subdirectories as wordpress overrides them with a 404 error

I refer to this question previously asked and not suitably answered: Wordpress overriding actual subdirectories and also Non "Wordpress" pages/code getting 404 error. I have the same ...
1
vote
2answers
252 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 ...
0
votes
2answers
1k views

WP_DEBUG is not set, but I'm still getting warnings

If WP_DEBUG is not set, as I understand it, you should never ever see warnings. But on some sites on some servers, I'm still seeing a few. Not all the warnings that would be displayed if WP_DEBUG was ...
0
votes
2answers
636 views

Pages section (only) not loading after publishing large number of pages

I'm having some issues with my first wordpress installation that's really throwing me for a loop. First some background info on the situation. I've been working on converting an HTML site into ...
2
votes
2answers
3k 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 ...
0
votes
1answer
448 views

Problem with UTF8. italian/russian characters

I'm using an RSS feed importer. When i preview the feed, the special characters such as è,à and so on are throwing out gibberish. Searching on the WP.org forum I came across the suggestion to add the ...
1
vote
2answers
2k views

Illegal offset type in get_post_type_object()?

I'm getting the following warning in my WP admin custom posts listings page (wp-admin/edit.php?post_type=video) Warning: Illegal offset type in isset or empty in wp-includes/post.php on line 817 ...
1
vote
1answer
648 views

Plugin: Google Analytics for Dashboard error - Timestamp is too far from current time

Has anyone used the Google Analytics for Dashboard plugin? I've installed it successfully, but whenever I try to link it to my Google Account using the Start Login Process button, I keep getting a ...
0
votes
1answer
385 views

Fix warning: Missing argument

i want to submit a theme to the wordpress.org. when i put the define('WP_DEBUG', true); in my wp-config.php. my theme showed some errors.but i don't know how to correct theme. Q1:Warning: Missing ...
0
votes
1answer
554 views

Display all WP Errors together during form validation

I have a custom front end page where users can post from. All works fine but the i want if more than one field is empty then the errors for all empty fields should show all together. Right now the ...
2
votes
2answers
143 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
3k views

PHP Fatal error: Call to undefined function download_url()

First, Here is the full error: PHP Fatal error: Call to undefined function download_url() in /path/to/wordpress/wp-admin/includes/media.php on line 562 I have also posted the related functions at ...
0
votes
2answers
885 views

is_wp_error() and handling errors

Im trying to build a function which grabs the feedburner "readers" using wp_remote_get(). I noticed that it frequently returned a value of 0. I assumed at first that it was a WordPress error ...
0
votes
1answer
197 views

Error messages when adding code to function.php or trying to delete inactive plugin files

Error message below: Warning: Cannot modify header information - headers already sent by (output started at /home/content/79/7603579/html/listings/wp-content/themes/OIB theme/functions.php:519) in ...
0
votes
1answer
3k views

Getting the warning: Missing argument 2 for manage_posts_custom_column()?

I created a custom post type, two custom taxonomies and displayed them in the 'manage post section, but I'm getting the following warning: Warning: Missing argument 2 for ...
0
votes
2answers
278 views

Debugging / displaying errors in WP_Widget->form()

I'm finding that if I have errors in my code that's being called by my custom widget's form() method, I don't see any error display - the only indication I have is that in Admin > Appearance > Widgets ...
3
votes
1answer
2k views

Plugins error (Use roles and capabilities instead) on latest version, multisite

I have the latest, version 3.1.2 and have multisite installed. I have debug on true for testing purposes. I get the follow error when I install plugins. Where and how do I fix this? Error: ...
7
votes
5answers
13k views

Showing errors with $wpdb update

I am using $wpdb->update to update a custom table I have in my database. When I var_dump the result it returns: int(0) So I tried $wpdb->print_error() to see what's wrong. However, it shows ...
0
votes
1answer
1k views

Custom Post Type Causes Error: Warning: call_user_func_array()

I have a custom post type created called 'missions'. When developing the site on my Dedicated Virtual, I had no problems. But I moved the site to a shared hosting grid server (mt) and now receive this ...
2
votes
3answers
914 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 ...
1
vote
2answers
314 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 ...
0
votes
1answer
337 views

my blog crashes ie7?

hey guys, weird problem. My blog theme works fine in ie8, ie9 and all other major browsers... however ie7 doesn't even render it? in ie7 it seems like my blog even has serverside problems? any idea ...
3
votes
1answer
458 views

Why will using __construct instead of widget_class_name when creating widget trigger out of memory error

I find that if I use class widget_name extends WP_Widget { function __construct() { ... } } instead of class widget_name extends WP_Widget { function widget_name() { ... } } I get an ...
0
votes
1answer
345 views

WP-nivo-slider Producing Error “Cannot modify header information - headers already sent by …”

I have installed the wp-nivo-slider and am now getting a list of these errors on my /wp-admin/ page. The error is: Warning: Cannot modify header information - headers already sent by (output started ...
0
votes
3answers
954 views

Creating custom login errors

I want to be able to create custom login errors. For instance if a user visits a restricted area without being logged in then I am redirecting to wp-login.php?ref=access and I would like to output ...
0
votes
1answer
3k views

Wordpress home page doesn't work, but other pages do. How to rectify?

http://blog.sanspace.in/ My blog home page is messed up. None of the plugins or sidebar widgets are working. Only the latest post is showed that too partially. However, other pages and posts ...
0
votes
1answer
3k views

get_terms return errors

Hi when i try to get_terms(); in theme options via this code $catalogs_terms = get_terms( 'catalogs' ); $mycatalogs = array( -1 => 'Select a catalog' ); if ( $catalogs_terms ) { ...
0
votes
1answer
137 views

strange parse error when including a loop template within another template

I have a loop template called loop-event-details.php where I have code to display each event. My main page template is called events-page.php. I use the following code to include the loop template: ...
1
vote
4answers
2k 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
1answer
3k views

php ajax problem - weird 301 responses!

hey guys, I really really need your help. I have just no idea why that happens. I'm trying to load a wordpress page with the jquery $ajax method. However my browser is crashing all the time when I ...
1
vote
1answer
266 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 ...
0
votes
1answer
446 views

'Invalid Error' when saving theme options - only in Google Chrome

I have users when get an 'Invalid Error' when trying to edit the custom theme options in my theme, WPFolio. The options (just some CSS rules: page container color, font color, headline/body font, ...
1
vote
1answer
2k views

Error “The given object ID is not that of a menu item” on menu with 40+ items

When ever I try to add menu items past about 40 I get an error "The given object ID is not that of a menu item" and many of my menu items will disappear from the menu at random. The site I am working ...
7
votes
3answers
6k views

How to catch/what to do with a WP Error Object

I am running some of the WP functions directly inside a plugin, including wp_insert_post(), if something goes wrong, this returns a WP Error object, what is the correct method to catch this error? ...
0
votes
2answers
1k views

WordPress MS wp-admin/includes/post.php error with shortcode generator

I'm having a serious issue with Wordpress 3.1 with Multi Site enabled and my themes custom shortcode generator. For some reason, I'm getting the following error whenever I create a new ...
0
votes
2answers
889 views

Internal Server Error only on frontend and certain admin pages

I'm experiencing an internal server error on a site, but only on the publicly facing site, and on certain pages in the admin section, including posts (/wp-admin/edit.php) and anything else accessing ...
0
votes
2answers
871 views

How to redirect a URL with parameters?

My redirection are working until parameters are added to the end of the source URL. What will be the proper way of implementing a redirect were the target will be a different URL but I want to pass ...
1
vote
2answers
228 views

Fatal error with a theme

My question is about a theme named quality control which was available at wordpress repository. The plugin developer is not available at this moment and I hope I get resolution for my problem here ...
2
votes
3answers
353 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 ...
7
votes
2answers
2k views

How to display admin error notice if settings saved succesfully?

Title sounds counter-intuitive but bear with me. :) I have options page, made with Settings API. When user enters invalid data I want to display error notice with add_settings_error() call. But! To ...
0
votes
4answers
558 views

Problem with running javascript in a shortcode

I am trying to create this plugin for my site that will allow create short codes to pull data from the iTunes Search SDK. I already have the iTunes Search SDK javascript plugin working that pulls the ...
0
votes
1answer
218 views

How to automatically convert “%” and “+” in image urls on upload

I mass import products via csv and use this plugin http://wordpress.org/extend/plugins/cache-images/ to download the images to my server. Problem is some of the image urls have % and + characters in ...