The errors tag has no wiki summary.
1
vote
2answers
119 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
2answers
603 views
Undefined property: stdClass::$labels in general-template.php post_type_archive_title()
I've got a custom post type with a standard tag taxonomy added to it like so: 'taxonomies' => array('post_tag'). I've added some tags to some posts of this CPT which are display on the front-end ...
1
vote
2answers
105 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
204 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 ...
1
vote
1answer
237 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
2answers
1k 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 ...
1
vote
1answer
185 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 ...
1
vote
2answers
643 views
When does remove_filter not work?
There are reports that remove_filter does not work under some circumstances, and that we should provide alternatives. However, the article does not really make it clear under which circumstances this ...
1
vote
1answer
590 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
1answer
2k 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
370 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 ...
1
vote
1answer
52 views
Error “Trying to get property of non-object” with Custom Walker for wp_nav_menu
I am trying to add some ARIA related stuff to the wp_nav_menu function. I use a custom walker class for this purpose:
class Walker_Nav_Menu_With_Aria extends Walker_Nav_Menu {
function ...
1
vote
1answer
40 views
Two functions utilizing registration_errors filter
I wrote two plugins that utilize the registration_errors filter:
add_filter( 'registration_errors', 'process_payment', 10, 3 );
add_filter( 'registration_errors', 'add_user_to_SF', 10, 3 );
When ...
1
vote
5answers
308 views
Moving WP from local server to live, error establishing a db connection
Not sure what's going on here 'cos I've done it already a couple of times and it always worked. Basically I'm moving a testing site from my local machine (MAMP) to a live server by:
zipping the ...
1
vote
2answers
1k views
How do I fix this error: Warning: invalid argument supplied for foreach()?
I recently moved a wordpress install from my local instance to a dev server. For the move, I installed a clean version of wordpress 3.4, moved exact duplicates of the file structre, and used the ...
1
vote
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 ...
1
vote
2answers
180 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
2answers
97 views
Error establishing database connection - high traffic?
I have a WordPress 3.5.1 site that's getting a little bit of traffic (80 concurrent visitors, ~5 clicks/pageviews per second). The site runs fine until it spikes to ~85 visitors. There are usually 4 ...
1
vote
1answer
79 views
How to include error message on login
I am a novice with php, so I need help with this one. Please bear with me.
I want to include an error message on the wp_login.php page when visitors are redirected from a "user only/logged in" page. ...
1
vote
1answer
587 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
1answer
192 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. ...
1
vote
2answers
201 views
Validate data on attachment_fields_to_save
I'm very glad that there is such a dedicated website for WP.
My problem is data validation upon saving attachment fields. I have added many custom fields to attachment/media library dialog, most of ...
1
vote
1answer
391 views
qTranslate conflicts with SEO-plugins
I have an issue with a clients site. I installed the Yoast SEO-plugin (which i find to be great), but when i activate it i get lot's of error messages (See below).
...
1
vote
1answer
311 views
update user information
this is my code
/* Update user information. */
if ( !empty( $_POST['url'] ) ){
update_user_meta( $current_user->id, 'user_url', esc_url( $_POST['url'] ) );
else{
...
1
vote
2answers
328 views
Out of Memory when Uploading an Image
Sometimes when I upload a picture (either with flash or browser uploader), I get a message like (this was with a 1.46MB jpg):
Fatal error: Out of memory (allocated 69206016) (tried to allocate 4000 ...
1
vote
1answer
501 views
CSV file generation failing
I'm using a plugin for a client (that i modified to some degree) that creates and maintains a database of organization members (using a new wp table to do so).
There is a nice feature that does a csv ...
1
vote
2answers
433 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 ...
1
vote
2answers
886 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
413 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 ...
1
vote
1answer
968 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 ...
1
vote
2answers
206 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
...
1
vote
1answer
206 views
Problem using Press-this book marklet
When I use the bookmarklet button to test bookmarking . Only some URLs might able to display the post page.For other URLs it is just showing an error:
404. The requested page was not found.
I have ...
1
vote
1answer
427 views
I am getting an error some times when uploading themes
I am getting an error message When uploading some themes .
Warning: fopen(/home/..../public_html/...../wp-content/themes/creativeart/style.css) [function.fopen]: failed to open stream: No such file ...
1
vote
1answer
52 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 ...
1
vote
1answer
11 views
WP URL /icons returns 403 forbidden error
So, this is odd. On WordPress, I'm not allowed to have a page http://mysite.com/icons. Apparently that slug doesn't work, and I get an error 403 (forbidden) if I try to go there. This seems silly, as ...
1
vote
1answer
226 views
Wordpress error on log out 'Not Permitted' and can't log out
I've got a weird situation whereby I sometimes can't log in as clicking on a link (or going directly) to /wp-login.php shows me a blank page with the words 'Not Permitted'.
If I go to the ...
1
vote
0answers
63 views
Remove default admin notification, Settings API
I have added custom error messages while saving WordPress plugin settings using the settings API method add_settings_error.
It is working well, but the default message ("Settings saved.") is also ...
1
vote
0answers
110 views
Single Multisite Signup Page [closed]
I'm trying to turn the WordPress multsite signup page into a one step process instead of two. I'm wanting people to choose their username, email, password and a confirmation of their password, along ...
1
vote
1answer
185 views
Error handling a plugin with exceptions
I'm creating a new plugin and I want to handle errors cleanly. I find the WP_Error class unwieldy so have decided to use exceptions. I am not bothered about lack of PHP 4 support.
$error = true;
...
1
vote
0answers
69 views
Firing a function AFTER redirect
I am using a function that redirects the user to a custom page, rather than wp-login in the event of errors. In my case I am using the Http Referer function to send the user back to the same page ...
1
vote
0answers
68 views
Debugging unserialize errors
NOTICE: wp-includes/functions.php:232 - unserialize()
I get this error of varying lengths on the admin pages of several of the sub-blogs of my multisite instance. It doesn't happen on all the blogs, ...
1
vote
0answers
40 views
How can I make wordpress suppress mysql errors?
Wordpress has two functions related to SQL queries and their errors as mentioned in What Is The Difference Between suppress_errors() And hide_errors() in $wpdb?
From what I've read setting WP_DEBUG ...
1
vote
1answer
112 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 ...
1
vote
2answers
287 views
Fatal error: Allowed memory size of 146800640 bytes exhausted (tried to allocate 57 bytes) in public_html/wp-includes/rewrite.php on line 1561
I dont know how/why this happened. I was working on my site over the weekend and it was fine. When I came into the office this morning, I went to the site and got this:
Fatal error: Allowed memory ...
1
vote
1answer
32 views
Suspicious mesage appears instead of images
My installation is of Multisite setup . when I upload an image and try to view it, getting a message 'go home baby!!' instead of image
Actually the specific sub-site is also mapped with a custom ...
1
vote
2answers
475 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');
...
0
votes
2answers
205 views
Wordpress: Notice:Object of class WP_Query could not be converted to int in on line
I am facing issue in debug mode with wordpress. In my featured slider getting error
Notice: Object of class WP_Query could not be converted to int in on line
I am using below code for my slider
...
0
votes
2answers
74 views
Remove Menu Page Giving Error
I have a snippet of code I've written in the functions.php file which is simply to remove menu pages if the user cannot activate plugins. It works as intended; however it is showing a PHP error in ...
0
votes
1answer
1k views
Receiving “This content cannot be displayed in a frame” error on login page
I am using a new domain for my WordPress directory in different server. When I click the meta links such "Login" or "register", I get this page:
This content cannot be displayed in a frame
To ...
0
votes
2answers
161 views
Why am I getting a “Call to undefined function curl_init()” when I try to use the Sociable plugin?
I have a wordpress blog at
http://www.1000irritatingthings.com
I had the sociable plugin working for a while, but now when I try to configure it, I get the following error in the admin panel when I ...
