The tag has no wiki summary.

learn more… | top users | synonyms (1)

1
vote
1answer
713 views

Error when requesting password reset email - wp authentication

I get the following error whenever a user tries to request a password reset email: The e-mail could not be sent. Possible reason: your host may have disabled the mail() function. As per ...
1
vote
2answers
500 views

Is there a way to avoid 404 pages in Wordpress?

On my site, people can link to non-existing posts, which is fine because that's the whole structure on my site... The problem is that you get 404 errors, which is not good for SEO. Is there a way in ...
1
vote
1answer
290 views

wp_upload_bits does not retrieve images that do not have an extension

I am using the following code to retrieve images from the web: $get = wp_remote_get($image_file_name); $mirror = wp_upload_bits(basename($image_file_name), '', wp_remote_retrieve_body($get)); This ...
1
vote
2answers
651 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
400 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
2answers
146 views

WordPress settings API error when checkbox unchecked

I am trying to creating some custom options for a template I am developing but I am getting an error when the checkbox (Line 130) is unchecked: Warning: Illegal string offset 'show_admin_dev' in ...
1
vote
1answer
734 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
1answer
1k 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
371 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
766 views

qTranslate conflicts with SEO-plugins [closed]

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
560 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
406 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
642 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
470 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
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
635 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
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 ...
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 ...
1
vote
1answer
782 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
230 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
652 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
0answers
18 views

Visual editor become blank after updating an article

I'm using WordPress 4.0 on an IIS installation. Everything is working fine, execept for one thing. My editor wrote an article and saved it. When page refreshed the visual editor become blank, without ...
1
vote
0answers
236 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' ...
1
vote
0answers
38 views

Visual editor not working after update

After update wordpress visual editor are blank. I tried disabling all plugins, changing theme to 2014, and cleaning cache in server and pc. (not working)
1
vote
0answers
67 views

Defined function gives undefined function error.. is a custom function [closed]

OK so I'm making a theme here at work and I'm sectioning off all functions that aren't add_action or the like. I'm using them through-out for different things. They are stored in a file called ...
1
vote
0answers
261 views

Unable to get WP_DEBUG, WP_DEBUG_DISPLAY, WP_DEBUG_LOG to work

I've got the proper debugging constants defined in wp-config.php: define('WP_DEBUG', true); define('WP_DEBUG_DISPLAY', true); define('WP_DEBUG_LOG', true); But they're not doing a darn thing. When ...
1
vote
1answer
162 views

Get errors from WP_Error to different variables

I have added multiple errors in the WP_ERROR. I want to get those errors separately in different variables. With the following code I can get all errors with foreach loop, but how can I assign them to ...
1
vote
0answers
245 views

Using a custom 410 page

I've been trying to figure this out without success. In created a 410.php in my theme, and in my nginx config, I added:- error_page 410 /index.php?error=410 as I'd seen suggested in a few places, ...
1
vote
2answers
196 views

Getting notices on fresh 3.6.1 install

I'm a relative newcomer to WP. I've been playing around for the past 3 months or so trying out themes, plugins etc. About a month ago I got to the point where I turned debug on and I started seeing ...
1
vote
0answers
50 views

Two Domain pointing to the same Wordpress installation

Hi I've got an issue with domain pointing. I am using MultiDomain plugin to point two domains to the same Wordpress installation. The website is working properly on the first domain but on the second ...
1
vote
0answers
76 views

Getting php_network_getaddress error : No such host is known?

I am working on wordpress theme on my localhost. I started receiving this error. Its is very annoying and i have no idea to resolve this thing.
1
vote
1answer
83 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
0answers
1k views

How to fix database error duplicate entry

At first I thought this was just a damaged table, so I tried repairing via MySQL, but it appears there's more fundamental issues. Which of the duplicates should I remove, and any further advice in ...
1
vote
1answer
700 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
2answers
1k 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 ...
1
vote
0answers
208 views

How to solve opening and ending tag mismatch error in feed page [closed]

When I visit my feed page I am getting "error on line 261 at column 24: Opening and ending tag mismatch: input line 0 and form" this error. What's wrong in feed page please need your help. My Site ...
1
vote
0answers
421 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
4k views

How to display error messages using WP_Error class?

I have registration form code in my functions.php file like this if ('POST' == $_SERVER['REQUEST_METHOD'] && !empty($_POST['action']) && $_POST['action'] == 'registration') { ...
1
vote
3answers
2k 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
0answers
101 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
113 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
55 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
2answers
510 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
35 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
1answer
277 views

Trailing slash results in an error:

On my website, any trailing slash is resulting in an error. How do I fix this? Example: http://example.com/content - no error http://example.com/content/ - error
1
vote
2answers
774 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
4answers
303 views

Error after moving WordPress installation

I am trying to move a WordPress site to a new server, but I cannot get it up and running on my local server (running XAMPP). The site is running perfectly fine, but when I download the files, export ...
0
votes
2answers
840 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
295 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
5answers
2k views

New Wordpress Error Message - Not seen this before

I've just seen a new error message on one of my Wordpress sites that I've not come across before. "This request has been denied for security reasons. If you believe this was in error, please contact ...