The tag has no wiki summary.

learn more… | top users | synonyms (1)

2
votes
4answers
1k views

How to fix strange 500 Error after Editing Menu?

I have strange situation which just started which I seem to be unable to resolved. I am not sure what this might be related to but I think I remember reading somewhere that this has happened to ...
2
votes
2answers
89 views

Dashboard Disappears after Upgrade

Following a recent upgrade to WP and MySQL one site that has a custom built plugin throws a Fatal error: Fatal error: Cannot re-assign auto-global variable _REQUEST in ...
2
votes
2answers
1k views

Call to undefined function get_header() in index.php

I am trying to create a theme. I created a header.php file and call this file in index.php using <?php get_header();?> When I try to run my index.php file it shows this error: Call to ...
2
votes
2answers
165 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 ...
2
votes
1answer
2k views

Setting 404 page in Nginx

I am using this page (http://wiki.nginx.org/WordPress) to setup my WordPress on a nginx/php-fpm server. Everything is okay, except the 404 page When I request www.example.com/foo, it send me the ...
2
votes
1answer
155 views

PHP Notices appear when browsing any page in admin, but only for child theme, using code from WP Codex

My php_error.log in my console (locally on OSX) is reporting 3 PHP Notices. The PHP Notices only appear when browsing each admin page in the back-end for a site (running multisite) that uses a child ...
2
votes
3answers
357 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 ...
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 ...
2
votes
1answer
213 views

WP Cron and wp_insert_post

I'm trying to insert posts using a cron job, but I keep running into errors where WP is missing functions (is_user_logged_in, wp_get_current_user). Is there a proper way to run wp_insert_post using a ...
2
votes
2answers
148 views

Dashboard Whitescreen of Death?

I can login into the Dashboard and see the menu of the left, it shows that there are 7 plugin updates and a WordPress update required but on the right I have a blank screen, I can see the update to ...
2
votes
1answer
3k 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 ...
2
votes
2answers
361 views

Gallery Only Displaying One Thumbnail

My image galleries are showing only one thumbnail in the post the gallery sits in. http://themeforward.com/demo2/2013/03/08/image-gallery/ My single.php markup can be found here: ...
2
votes
2answers
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. ...
2
votes
1answer
459 views

WP_Error handles errors, but how can I show success with a message?

My script accesses an api to populate posts. I can add any errors to the WP_Error class, but can I add success messages to a global variable?
2
votes
2answers
3k views

Error 101 after upgrading Wordpress

We have just updated to WordPress 3.1.3 by following the WP manual install tutorial. Note: This is a Network-enabled (multi-site) install. After uploading the new files, we now get the following ...
2
votes
1answer
242 views

Displaying oEmbed errors?

Sometimes embedding an item via oEmbed is not possible, for example when a YouTube video has embedding disabled. The oEmbed service will return a 401 Unauthorized, and the code will not be converted. ...
2
votes
1answer
94 views

Seaweed Plugin not working

I have installed the Seaweed (Wordpress Plugin). I have successfully installed it and I can able to edit the content. But the save function is not functioning popularly. when I clicked on the "save ...
2
votes
0answers
543 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' ...
2
votes
0answers
107 views

Continue javascript execution when errors occurs [duplicate]

I use the WP native function wp_enqueue_script() for all my JavaScripts loading both in WP front and back-end so it can handle duplicated calls to the same script and so on. One of the issues is that ...
2
votes
1answer
206 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
3answers
133 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
174 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 ...
1
vote
2answers
317 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 ...
1
vote
4answers
3k 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
2answers
2k views

Does wordpress have an error log?

I accidentally removed a bunch of plugin folders. I restored them all directly after, but since then my site is completely blank. Can't see anything, it's just white. I'm not sure what to do, but ...
1
vote
2answers
158 views

How to throw error to user when saving post

I made a custom post type and on saving its additional data I want to check if I a published post exists by its name. It works alright if there is, but I would like to throw some notice if article is ...
1
vote
1answer
8k 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 ...
1
vote
2answers
255 views

Can WordPress email the admin about PHP errors, while hiding them from the site?

Is it possible to have WordPress email the site administrator whenever a PHP error message is displayed? Ideally the message would also be filtered out of the HTML output, so as to avoid information ...
1
vote
2answers
125 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
111 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
330 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
1answer
269 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
1answer
881 views

How to use add_settings_error in register_setting callback

public function database_name_check($input){ //debug add_settings_error('notice', 'lol', 'lol'); if($this->wpdb->get_var($this->wpdb->prepare('SHOW DATABASES LIKE %s', $input)) ...
1
vote
2answers
413 views

What does this error mean? WordPress database error: [MySQL server has gone away]

WordPress database error: [MySQL server has gone away] I did not make any changes, and the host says that there is no problem with MySQL. Can anyone explain what the error means? and how to ...
1
vote
1answer
974 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
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
584 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
27 views

Why $wpdb->show_errors() and print_error() is showing an output even if the query output is correct?

In order of figuring out the following issue, see Sanitize a working query string by using $wpdb->prepare() fails with MySQL DB error "right syntax to use near '3' at line 1" i ...
1
vote
1answer
144 views

Proper way to pass credentials in a custom login form to avoid “headers already sent”

I'm working on a custom login page plugin. I'm trying to figure out how to log the user in without creating "headers already sent" errors. I was calling wp_signon directly after the user clicked ...
1
vote
2answers
923 views

Call to undefined function error after adding add_filter to wp-config

I am getting Fatal error: Call to undefined function add_filter() in example.com/wp-config.php on line 20 after adding add_filter( 'auto_update_plugin', '__return_true' ); to wp-config.php My ...
1
vote
2answers
109 views

Problem with wordpress version 3.8

Hi I have just updated wp version 3.8 and whenever I install plugins , in most of the cases the plugins shows an error or warning that certain variable in the plugin is not defined. In some of the ...
1
vote
1answer
2k views

tb_show is not defined in advance custom field

I am using the plugin: Advanced Custom Fields. For several more images, I used it to add images using the image input field. Now, when I edit a post, I can't edit/add new image into the image field ...
1
vote
1answer
169 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
1answer
820 views

redirect loop to page, can't find origin, can't remove [closed]

I have a new client who did "something, I can't remember what" to her blog. Now when you visit the home page, it redirects to a page she created and deleted, "/road-maps/". I have no idea why it ...
1
vote
2answers
2k views

Undefined offset: 0 in > […] /wp-includes/capabilities.php on line 1067

Hey i get this error messages on my localhost setup, but only with the genesis framework enabled, wordpress twentyeleven works fine. This does happen when i want to create a new post. If i refresh the ...
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
159 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 ...