The errors tag has no wiki summary.
0
votes
1answer
226 views
Shortcode, Concatenating & Parse error: syntax error, unexpected T_FOREACH
I'm learning how to write a shortcode. I'm getting this error: Parse error: syntax error, unexpected T_FOREACH . I'm having problems with concatenating it properly.
<?php
/*
Plugin Name: My ...
0
votes
1answer
198 views
Error establishing a database connection error on a site that was working fine previously
A site that was working fine previously is now getting an error,
Error establishing a database connection
I have dealt with this error while creating new wordpress sites(when there was something ...
5
votes
1answer
3k views
Change login error messages
took a look at the questions but I couldn`t find a similar one.
I need to change the custom error messages that are displayed when user tries to login with a wrong username or password.
Like, change ...
0
votes
1answer
90 views
Unable to browser posts in categories
Hoping someone can help with this.
Clicking on a category either returns a "not found" error, or opens a random post in the category.
Verified that the issue is independent of a plugin or theme. ...
0
votes
1answer
152 views
Functions.php error - when trying to change the theme
After trying to replace the wordpress theme , it says that the functions.php file in the theme catalogue - the last line - is not ok
Parse error: syntax error, unexpected $end in ... ...
0
votes
1answer
138 views
My blog suddenly can't find my stylesheet?
I created a custom theme awhile back, and everything has worked fine up until now. All of a sudden, my theme was reverted back to the default twenty eleven theme because apparently my custom theme is ...
0
votes
1answer
154 views
All in One SEO - access denied [closed]
after installing All in One Seo plugin - and choosing a theme, the website displays error message above theme content:
the error message says - that there is permission denied in the following code ...
1
vote
1answer
484 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 ...
0
votes
1answer
121 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 ...
0
votes
1answer
344 views
'ajaxurl' is undefined — wp-includes/js/wp-lists.js
My site displays the following script error in IE8:
Webpage error details
Message: 'ajaxurl' is undefined
Line: 1
Char: 102
Code: 0
URI: ...
4
votes
3answers
840 views
How should one implement add_settings_error on custom menu pages?
The Professional WordPress Plugin Development book explains in detail how to properly use the Settings API, and it also demonstrates how to add Menus and Submenus, but unfortunately it doesn't provide ...
-1
votes
1answer
283 views
syntax error, unexpected T_STRING in
function socialbutton($content) {
if(is_single()) {
$content.= '
<div class="author_info">
<h4>This post was written by <?php the_author_posts_link(); ...
1
vote
1answer
2k views
Could not create directory /wp-content/upgrade/
When I try to automatically install updates to Wordpress or plugins, I receive an error:
An error occurred while updating... Could not create directory
.../wp-content/upgrade/...
My web host ...
1
vote
1answer
586 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 ...
0
votes
1answer
710 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
2answers
431 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 ...
4
votes
3answers
646 views
Why on Earth am I getting “undefined_index” errors?
Right, I'm banging my head against a wall here. I'm sure it's something incredibly simple but I keep getting undefined index errors on all of these variables.
function meta_genus_species() {
...
0
votes
5answers
747 views
Errors in Add Image Popup, Media Library Tab: “in_array() expects parameter 2 to be array, null given in wp-includes/query.php”
I am getting errors like
Warning: explode() expects parameter 2 to be string, array given in /data/www/ae/wp-includes/query.php on line 2390
Warning: in_array() expects parameter 2 to be array, null ...
5
votes
6answers
7k views
Cannot access non-wordpress subdirectories as wordpress overrides them with a 404 error
I refer to this question previously asked and not suitably answered:
Wordpress overriding actual subdirectories
and also
Non "Wordpress" pages/code getting 404 error.
I have the same ...
1
vote
2answers
197 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 ...
0
votes
2answers
212 views
WP_DEBUG is not set, but I'm still getting warnings
If WP_DEBUG is not set, as I understand it, you should never ever see warnings. But on some sites on some servers, I'm still seeing a few. Not all the warnings that would be displayed if WP_DEBUG was ...
0
votes
2answers
562 views
Pages section (only) not loading after publishing large number of pages
I'm having some issues with my first wordpress installation that's really throwing me for a loop. First some background info on the situation.
I've been working on converting an HTML site into ...
0
votes
1answer
332 views
Problem with UTF8. italian/russian characters
I'm using an RSS feed importer. When i preview the feed, the special characters such as è,à and so on are throwing out gibberish.
Searching on the WP.org forum I came across the suggestion to add the ...
1
vote
2answers
854 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
395 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 ...
0
votes
1answer
232 views
Fix warning: Missing argument
i want to submit a theme to the wordpress.org. when i put the define('WP_DEBUG', true); in my wp-config.php. my theme showed some errors.but i don't know how to correct theme.
Q1:Warning: Missing ...
0
votes
1answer
326 views
Display all WP Errors together during form validation
I have a custom front end page where users can post from. All works fine but the i want if more than one field is empty then the errors for all empty fields should show all together. Right now the ...
2
votes
2answers
133 views
How to handle core code throwing notice on valid input?
I have combination of valid input with native WP function throwing PHP notice. In this specific case it is image without extension with image_resize().
This is usually suppressed by WP, but it still ...
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 ...
0
votes
2answers
363 views
is_wp_error() and handling errors
Im trying to build a function which grabs the feedburner "readers" using wp_remote_get(). I noticed that it frequently returned a value of 0.
I assumed at first that it was a WordPress error ...
0
votes
1answer
177 views
Error messages when adding code to function.php or trying to delete inactive plugin files
Error message below:
Warning: Cannot modify header information - headers already sent by (output started at /home/content/79/7603579/html/listings/wp-content/themes/OIB theme/functions.php:519) in ...
0
votes
1answer
934 views
Getting the warning: Missing argument 2 for manage_posts_custom_column()?
I created a custom post type, two custom taxonomies and displayed them in the 'manage post section, but I'm getting the following warning:
Warning: Missing argument 2 for
...
0
votes
2answers
196 views
Debugging / displaying errors in WP_Widget->form()
I'm finding that if I have errors in my code that's being called by my custom widget's form() method, I don't see any error display - the only indication I have is that in Admin > Appearance > Widgets ...
3
votes
1answer
611 views
Plugins error (Use roles and capabilities instead) on latest version, multisite
I have the latest, version 3.1.2 and have multisite installed. I have debug on true for testing purposes. I get the follow error when I install plugins.
Where and how do I fix this?
Error:
...
6
votes
5answers
3k views
Showing errors with $wpdb update
I am using $wpdb->update to update a custom table I have in my database. When I var_dump the result it returns:
int(0)
So I tried $wpdb->print_error() to see what's wrong. However, it shows ...
0
votes
1answer
981 views
Custom Post Type Causes Error: Warning: call_user_func_array()
I have a custom post type created called 'missions'. When developing the site on my Dedicated Virtual, I had no problems. But I moved the site to a shared hosting grid server (mt) and now receive this ...
2
votes
3answers
688 views
Getting Warnings & Notices from Fresh WordPress 3.1.2 install
I just installed WordPress 3.1.2, I got
`Notice: automatic_feed_links is deprecated since version 3.0! Use add_theme_support( 'automatic-feed-links' ) instead. in ...
1
vote
2answers
275 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
...
0
votes
1answer
320 views
my blog crashes ie7?
hey guys,
weird problem. My blog theme works fine in ie8, ie9 and all other major browsers...
however ie7 doesn't even render it? in ie7 it seems like my blog even has serverside problems?
any idea ...
3
votes
1answer
304 views
Why will using __construct instead of widget_class_name when creating widget trigger out of memory error
I find that if I use
class widget_name extends WP_Widget {
function __construct() { ... }
}
instead of
class widget_name extends WP_Widget {
function widget_name() { ... }
}
I get an ...
0
votes
1answer
322 views
WP-nivo-slider Producing Error “Cannot modify header information - headers already sent by …”
I have installed the wp-nivo-slider and am now getting a list of these errors on my /wp-admin/ page.
The error is:
Warning: Cannot modify header information - headers already sent by (output started ...
0
votes
1answer
619 views
Creating custom login errors
I want to be able to create custom login errors.
For instance if a user visits a restricted area without being logged in then I am redirecting to wp-login.php?ref=access and I would like to output ...
0
votes
1answer
1k views
Wordpress home page doesn't work, but other pages do. How to rectify?
http://blog.sanspace.in/
My blog home page is messed up. None of the plugins or sidebar widgets are working. Only the latest post is showed that too partially.
However, other pages and posts ...
0
votes
1answer
1k 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
1answer
128 views
strange parse error when including a loop template within another template
I have a loop template called loop-event-details.php where I have code to display each event.
My main page template is called events-page.php. I use the following code to include the loop template:
...
1
vote
4answers
1k 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
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
169 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 ...
0
votes
1answer
364 views
'Invalid Error' when saving theme options - only in Google Chrome
I have users when get an 'Invalid Error' when trying to edit the custom theme options in my theme, WPFolio. The options (just some CSS rules: page container color, font color, headline/body font, ...
1
vote
1answer
926 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 ...
