The tag has no wiki summary.

learn more… | top users | synonyms (1)

1
vote
1answer
920 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
337 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
671 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
475 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
384 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
621 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
466 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
1k 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
574 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
221 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
673 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
223 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
585 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
31 views

Detecting errors generated by $wpdb->get_results()

How do I detect errors when using $wpdb->get_results()? For example: $result = $wpdb->get_results("SELECT * FROM this is not a valid query"); The preceding code doesn't generate any exceptions ...
1
vote
0answers
48 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
155 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
99 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
179 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
142 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
45 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
70 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
59 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
670 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
657 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
774 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
168 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
347 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
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
93 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
106 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
52 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
462 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
254 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
647 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
664 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
242 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
2answers
370 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 ...
0
votes
1answer
2k 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
4answers
529 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
2answers
447 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 ...
0
votes
1answer
124 views

What do these phpMyAdmin errors mean on my WordPress databaes?

I'm getting 3 very similar phpMyAdmin errors on one of my WordPress databases. More than one INDEX key was created for column `comment_approved` More than one FULLTEXT key was created for column ...
0
votes
1answer
23 views

Connecting to a 2nd DB gives me no results when querying

I'm trying to access a different DB on the same localhost as my wp db is and I did this like so: functions.php: add_action('init','my_new_db'); function my_new_db(){ $newdb = new wpdb( 'test', ...
0
votes
4answers
652 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 ...
0
votes
1answer
132 views

Wp_update_post: Infinite loop even with remove_action solution, OOP

I have a quite complex PHP class, reponsible for creating and printing meta_boxes, generating and saving meta fields, ... Each meta_box (object of class) has its own save function, that updates meta ...
0
votes
1answer
218 views

after wordpress update to 3.5+ i get many errors in plugin wpdb::prepare()

after wordpress update to 3.5+ i get many errors in this plugin. i found that the reason is: http://make.wordpress.org/core/2012/12/12/php-warning-missing-argument-2-for-wpdb-prepare/ I do not ...
0
votes
2answers
341 views

PHP Notice error (when on 404 page)

I have a 404.php template for my theme. I also have WP_DEBUG in wp-config.php set to TRUE. Consider this 404 template: get_header(); ?> <div id="content" style="full-width"> <div ...
0
votes
2answers
3k views

What log files does a WordPress installation write to?

When tracking down WordPress problems, I've had a hard time finding where WordPress sends errors to. Where does WordPress send errors by default? Are there multiple files that different kinds of ...
0
votes
2answers
377 views

debugging errors.. how to remedy?

I had trouble accessing wp-login.php, so I changed the name of the theme I'm developing to force WP to switch to default. I then turned on debugging and received the errors below. I'm a little puzzled ...