Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms (1)

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
2k 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
844 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
196 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
2k 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
274 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
1k 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
11k 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
889 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
444 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
344 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
2answers
919 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
136 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
262 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
442 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
1k 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
829 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
784 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
227 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
351 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
550 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
216 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 ...
0
votes
1answer
329 views

Comment form in wordpress theme returns a javascript alert

I have a wordpress custom theme that started giving a weird error out from the blue. Every time you post a comment it will return a javascript alert with all the content of the page. I haven't made ...
0
votes
1answer
207 views

“Rendering of admin template [path to template] failed”

I've got a php script that is called when the user is editing the category. However, although the page renders fine for the most part, at the point where the image upload button should appear, I'm ...
0
votes
2answers
115 views

Is there any way to pass messages from a script to a redirect target in a hidden fashion?

I'm trying to pass error messages or regular messages from a page that processes a form post request to the page it then redirects to (after processing). Since i want to get rid of the POST request ...
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 ...
0
votes
2answers
7k views

Get PHP Fatal error on globalized $wpdb: Call to a member function insert() on a non-object- I have no clue. What to do?

I am trying to utilize this function. I cannot figure out why I am still getting the PHP error. All I can figure out is that for some reason the template isn't able to access $wpdb. I don't know ...
3
votes
4answers
822 views

What is the best way to monitor PHP functions/executions?

I am trying to find the best way to monitor which PHP code/functions, MySQL requests and/or plugins are slowing down pages on a site. I know there are a bunch of different options out there including ...
1
vote
2answers
750 views

“Apache HTTP Service has stopped working” with WP Query in WordPress 2.9.2

When my script runs the 4th line below in WP 2.9.2, its causing my web app to throw an "Apache HTTP Service has stopped working" error $cat=get_cat_ID('top-menu'); $catHidden=get_cat_ID('hidden'); ...
1
vote
2answers
172 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 ...
0
votes
1answer
851 views

Fatal error, is this because of host?

Suddenly I am getting the following error on my website, I don't know why, but I think this is because of shortage of RAM or Memory in the host? Is it true? Error: Fatal error: Out of memory ...
0
votes
1answer
44 views

help with my wordpress website

I cannot get into my website.. i was downloading a plugin for simple tags and now everytime i try to log or look at my website i get: Fatal error: Call to undefined function register_importer() in ...
0
votes
1answer
394 views

Undefined index error on options array element?

WP_DEBUG is telling me: Notice: Undefined index: no_cat_base in myplugin.php on line 20 Here's the lines of code where I'm pulling the value of "no_cat_base" from my options array called ...
0
votes
1answer
196 views

Help with accessing wp-admin page and resolving error messages

I was recently advised to reinstall both wordpress and my wordpress theme due to (i think) a still unresolved error with a slide manager, but on doing so, apppear to have lost access to the admin-wp ...
0
votes
2answers
1k views

Error when trying to logout

This problem was reported on the WP forum a month ago: Error when trying to logout. Whenever you logout, you get (Chrome): This webpage is not available. The webpage at ...
1
vote
3answers
132 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
223 views

How can I gracefully escape an error condition?

My plugin is freezing the execution of the page at the point where it calls the functions below. I have two problems... 1) How can I recode the function so that if there is an error, the plugin does ...
1
vote
1answer
766 views

The entire content of my Wordpress page has disappeared

I have a blog installed on my site using Wordpress. Last week I upgraded Wordpress from 2.6 to 3.0.4 (I had to do this manually). All went well, or so I thought, but I have just noticed that the ...
1
vote
1answer
526 views

Fatal error: Call to undefined function is_multisite()

My theme has a "function_exists" wrapper around the is_multisite() call as seen below... if(function_exists(is_multisite())) { //do something } However, I'm still getting this error on theme ...
0
votes
2answers
553 views

Front end empty (i.e. nothing displays); Back end looks fine; What are possible causes?

My customer's site was working last night. Today nothing displays from the front end. Firebug gives as the contents of the home page. I logged in. The back end looks fine. The most recent post (added ...