The tag has no wiki summary.

learn more… | top users | synonyms (1)

1
vote
3answers
3k views

In big trouble - Allowed memory size of 268435456 bytes exhausted

Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 81 bytes) in /home/public_html/hol/wp-includes/meta.php on line 571 I'm receiving this error when I try to log into ...
1
vote
5answers
1k 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
3k 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
165 views

Force plugin to fail activation

I'm writing a plugin that will be using custom fields added by a theme. Because of this, it would be ideal if my plugin not be able to activate should these fields not exist. How do I go about ...
1
vote
2answers
2k 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
1answer
895 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 ...
1
vote
2answers
247 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
3answers
992 views

wp-admin seems to be redirecting

I'm having a strange problem with my w-admin login. This has only started since I upgraded to 3.0 When I go to wp-admin, the login form appears as normal, but when I enter my username and pass, I am ...
1
vote
1answer
184 views

Extending WP_Widget throws error when Monster Widget used

I wanted to override the output for the core Recent Comments Widget. I extended WP_Widget_Recent_Comments made the changes needed and it displays exactly how I want. However, I have now tested the ...
1
vote
3answers
93 views

Unable To Login With Correct Credentials?

Me and my users can't login even using the correct credentials. We type in the correct username and password but then this error message comes up (it's been coming up for a while now, but I usually ...
1
vote
1answer
3k views

How to solve: An error occured in the upload

This error message appears when I try to upload any picture. Currently I am using WordPress 3.8.
1
vote
1answer
37 views

Page not found error when adding text `2 = 2 ^ 1` to the page

Adding the following text to a page in the Text editor and clicking Update results in "Error 404 - Page Not Found": 2 = 2^1 Replacing this text with anything else makes the Update succeed. Any ...
1
vote
1answer
105 views

Search Everything & WP 3.7 update issues [closed]

I have been personally maintaining the Search Everything plugin for WordPress since the authors stopped. I upgraded one of my sites to wp 3.7 today but i get this error when i search: WordPress ...
1
vote
1answer
3k views

WooCommerce Checkout Error [closed]

Just started getting this message when trying to "Check Out" in WooCommerce: {"result":"failure","messages":" \n\t\t\t Action failed. Please refresh the page and retry.<\/li>\n\t\t\t ...
1
vote
1answer
974 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
687 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
463 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
880 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
640 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
5k 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
2answers
893 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
2answers
426 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
867 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
655 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
444 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
691 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
472 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
680 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
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 ...
1
vote
2answers
233 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
2answers
1k 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
1answer
1k 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
240 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
781 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
59 views

4.2.2 stuck in an db upgrade loop with “Call to undefined method wpdb::get_col_length()”

During an automatic upgrade to 4.2.2 I am getting a blank screen on upgrading the database and the following error in the php.log: [Mon Jun 29 08:48:10 2015] [error] [client 127.12.209.129] PHP ...
1
vote
0answers
454 views

Error 402 : Unable to create order. Please try again [closed]

I have ecommerce shopping site with with latest version of wordpress and woocommerce. Very odd behaviour is going on with 402 error. Suddenly order creation starts failing with 402 error, and after ...
1
vote
1answer
202 views

How to get Login Error messages on a custom template

I want to display login form and process the login on the same page, so that if there is any login error it should display the error messages on the same page. I have added this function: ...
1
vote
0answers
386 views

Warning: An unexpected error occurred. Something may be wrong with WordPress.org

All the pages in my wordpress site shows the following warning. (both in admin view, and the site) Warning: An unexpected error occurred. Something may be wrong with WordPress.org or this server’s ...
1
vote
0answers
47 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
60 views

Blank page when saving edits on post

Whenever I try to edit a product or a post on WordPress I get a blank page and the edits are not saved. I have been checking Google alot, but there it all seemed to be caused by a plug-in. I only have ...
1
vote
0answers
44 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
75 views

wp_remote_get sslv3 alert handshake failure

I'm attempting to retrieve remote content with wp_remote_get but I'm getting the following error returned : 'sslv3 alert handshake failure'. I've tried using 'sslverify' => false in the args ...
1
vote
0answers
207 views

Strange Deadlock database error for the query “Delete From wp_options”

I'm experiencing a strange Database error in these days, and it could the the cause of the slowness of my website (tasc.it) in these days. I found this error in the PHP error log, I can see about 4-5 ...
1
vote
0answers
110 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
466 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
268 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
349 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
282 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
56 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 ...