The tag has no wiki summary.

learn more… | top users | synonyms (1)

0
votes
1answer
13 views

Notice: Undefined index: error and understanding wordpress

I am trying to create custom post types with wordpress 4. I followed a tutorial book called "Buildin Wordpress Themes From Scratch". I am on localhost so debug mode is on. When I try create a new ...
-1
votes
0answers
37 views

error on home page gethostbyaddr() [function.gethostbyaddr]: Address is not a valid IPv4 or IPv6 address

on my site i have this error: Warning: gethostbyaddr() [function.gethostbyaddr]: Address is not a valid IPv4 or IPv6 address in /home/public_html/wp-includes/general-template.php on line 192 i ...
0
votes
0answers
7 views

How to display error messages in custom login or registration page? (Or how to display error messages at all?)

I have a created a custom login form and have no idea how to display the error messages. I don't know where to start or what to do. Here's one of the forms I made: <form method="post" ...
0
votes
1answer
31 views

Image upload error?

I have searched everywhere for an solution and even though I have found others with similar issues it seems they are not the same. I have a fresh WordPress install and have it setup for multisite. ...
0
votes
0answers
21 views

Restoring .sql backup results in “Error establishing a database connection”

I'm trying to get the database dump (.sql) of a remote site to work with my local setup. Sort of like migrating from remote to local. I've already ftp-ed the site itself, but having problems ...
0
votes
1answer
36 views

Plugin can't be activated [closed]

I'm developing a WordPress plugin, but the last changes caused the plugin to stop working. It tells me that I can't activate the plugin because it caused a fatal error. On localhost all is working ...
0
votes
2answers
53 views

Warning: urlencode() expects parameter 1 to be string, array given in and not getting the preffered output

Warning: urlencode() expects parameter 1 to be string, array given in D:\xamppp\htdocs\sample\wp-includes\formatting.php on line 3690 When I try to give the category_name in the query_post, ...
0
votes
0answers
15 views

Random text changing to weird icons in both admin & front end

Has any body had this sort of problem before. The text mainly in input field descriptions turns to weird icons see image. I have deactivated all plugins and changed themes several times but same ...
0
votes
0answers
8 views

How can I show errors in the “Add Media” iframe?

I've added a custom field to the "Add Media" form using add_filter('attachment_fields_to_edit', ...) and I'm validating the existence of it when saving the attachment fields using ...
0
votes
2answers
23 views

Undefined Index. But isset not working?

I have social icons that are being set via my theme options in WP. Of course if they are not entered I am getting an Undefined Index error. I tried wrapping isset around which removes the error, but ...
0
votes
1answer
30 views

Plugin error on activation - breaks page encoding and prints the code of plugin php files

I have WordPress multisite install, everything was working properly. Developed a custom pugin on my local server (same configuration of Nginx, PHP, MySQL, Memcached, the only difference is OS - ...
0
votes
2answers
72 views

Showing “ Notice: Undefined variable:” and “ Notice: Trying to get property of non-object”

Showing "Undefined variable" and "Trying to get property of non-object" notice when using the following code while($q->have_posts()) : $q->the_post(); $newsbox_post_img_src = ...
1
vote
1answer
90 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 ...
0
votes
0answers
15 views

Possible to hide the search engine indexing disabled prompt/error message?

In Wordpress Settings >> Reading (../wp-admin/options-reading.php) there is an option called "Discourage Search Engines from Indexing This Site". If you check this, a notification error message will ...
0
votes
1answer
40 views

How do I set up Debugging?

In my wp-config.php, I have: // Enable WP_DEBUG mode define('WP_DEBUG', true); // Enable Debug logging to the /wp-content/debug.log file define('WP_DEBUG_LOG', true); // Disable display of errors ...
0
votes
0answers
14 views

local Wordpress installation with Xampp permalinks issue

I know this question might be asked before but it seems that nothing helped. I have a local Wordpress installation and try to use permalinks. What I did in my XAMPP was to open the conf file and ...
0
votes
0answers
41 views

Notice: Undefined index: translations in …/update.php on line 302

I am getting these error when I move from localhost server to shared server. Any idea on how I can fix this problem? Warning: Invalid argument supplied for foreach() in ...
1
vote
0answers
48 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
1answer
130 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 ...
0
votes
0answers
65 views

Notice: Constant WP_POST_REVISIONS already defined

I made a local clone of a website that's running LIVE in order to safely work offline for a while. On every page of the local version I get a HUGE warning which says Notice: Constant ...
0
votes
2answers
55 views

Why is wp-login trying to send an email?

My host sent me the following message: Below are the recently upload scripts that contain code to send email. You may wish to inspect them to ensure they are not sending out SPAM. ...
0
votes
0answers
40 views

Memory size exhausted when extending WP_Query

I tried to create a class that extends WP_Query, but I got this error: Allowed memory size of 1073741824 bytes exhausted I've increased the memory size in wp-config.php but that doesn't affect. ...
0
votes
1answer
27 views

Disable Debug Log Programmatically

I'm trying to disable WP_DEBUG_LOG if and only if debug.log exists. I'd like to hook into wp_footer and test if the file exists and if so disable my debug log. All I've found though is that ...
0
votes
0answers
102 views

wp-admin/admin-ajax.php returns 404

www.mysite.com/wp-admin/admin-ajax.php returns error 404 when logged out. www.mysite.com/wp-admin/admin-ajax.php loads a blank page with 0 when LOGGED IN. This is the proper behavior as per ...
0
votes
2answers
77 views

“load-scripts.php” hangs and times out when plupload is requested

I have a perplexing problem with Wordpress. When pages under /admin/ loads "load-scripts.php" with "plupload" as one of the arguments, it hangs for ever. The "Add New Post" page is one such page. For ...
0
votes
1answer
19 views

Weird Parse Error on Uploaded File

so I'm working on this theme on my localhost, and I just uploaded it to see if it'd work and I'm getting a weird parse error for these lines in my functions.php file. It works fine on my localhost ...
0
votes
2answers
110 views

jQuery HoverIntent is not a function

I am working on a site that uses jQuery for a number of functions but I am having a repeating error: hoverIntent is not a function I have referenced similar questions on this forum and they ...
0
votes
1answer
51 views

How do I debug an error that a plugin is causing?

I'm having an issue debugging why the plugin I'm creating keeps displaying the error You need to upgrade your database as soon as possible.... The work I've done so far has been on a remote dev site, ...
0
votes
3answers
51 views

Can't activate Plugin: unexpected T_STRING, expecting T_FUNCTION [closed]

I'm writing a plugin but have a problem. I wanted to make an upload form for my existing plugin, so I don't need to upload every picture with the Media Uploader and Copy&Paste the URL in the ...
0
votes
1answer
39 views

bypassing permission error for a plugin's page

i'm getting "You do not have sufficient permissions to access this page" error when trying to go to a plugin's settings. there's only one user which is the admin and has full access. this is the URL ...
0
votes
1answer
17 views

Website Loading Very Slow, Each Time Different File Takes Very Long To Load

My website's been very slow lately, and I've been checking my site in some of the response time checker websites. And they show over 20-30 seconds to load my website, so it is very bad right now. The ...
0
votes
1answer
25 views

Costum Theme template directoy url problem

recently i've made a costum wordpress theme , i already made few before but this time i'm really confused about issue: issue is ; in costum theme i'm using this : get_template_directory_uri() to ...
0
votes
0answers
42 views

Network Unreachable error on Google Webmaster Tools at Child-Sitemap

My URL is: http://www.chemicalsubjects.com Hi, I have an issue with my wordpress site sitemap.xml 's some child sitemaps. It sometimes gives an HTTP 503 crawl error: Unreachable network. I think that ...
0
votes
0answers
33 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)
0
votes
0answers
105 views

Fatal error: Allowed memory size of bytes exhausted (tried to allocate 36 bytes)

I' fetching some information from my website e.g category_name, category_id etc. with wordpress codex and encode them with json. I'm using them in my android application, but today, suddenly, it gave ...
0
votes
1answer
48 views

require_once() error after moving Wordpressto another server

I got this type of error after moving Wordpress site to other server. I don't have mistakes in config and dont understand why this error occured? Any suggestions to what might be causing these errors ...
0
votes
0answers
73 views

500 internal server error with wordpress

I always get 500 internal server error when I try to access my wordpress website, but if I put a php.ini (memory-limit:60MB) file in the WP-ADMIN folder, then I can access the site fine., but ...
0
votes
1answer
21 views

Unexpected Output: register_activation_hook with namespace

I encounter a weird error while using the register_activation_hook and namespace. The plugin generated 236 characters of unexpected output during activation. If you notice “headers already sent” ...
0
votes
0answers
98 views

How can I rotate images in Wordpress?

I'm receiving the following error while I attempt to edit images within Wordpress: "Could not load the preview image. Please reload the page and try again." What would cause this? Wordpress ...
0
votes
0answers
19 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 ...
0
votes
0answers
50 views

call user func array error after moved the site to new server

my wordpress site moved to a new server with cpanel. now after logged into wp-admin an error is showing. call_user_func_array() expects parameter 1 to be a valid callback, function 'showEntry' not ...
-1
votes
1answer
20 views

Language of errors in WordPress admin

How can I change the Wordpress error message language? The language of my WordPress installation is set to Russian. The entire site and the admin panels are in Russian, but the error messages (bad ...
0
votes
0answers
26 views

Can wp-config be on another place and shows the fake path of itself?

My website hasn't any problems yet, but after editing wp-config file using a file manager plugin, it doesn't even shown and displays the below error: Parse error: syntax error, unexpected ...
0
votes
2answers
86 views

WordPress “Hide WP” Gives Me Error After Admin Login [closed]

I recently paid a freelancer to install a "hide WP" effect, which hides the fact that I am using WordPress. I specifically asked to install something with this effect: ...
0
votes
0answers
25 views

Illigal string offset after moving website

After moving my website to another host, I'm getting a few errors in my wordpress theme. Warning: Illegal string offset 'navbar' in ...
3
votes
1answer
512 views

Uncaught ReferenceError:switchEditors is not defined

Is anyone familiar with this error? It is causing TinyMCE to break in my Wordpress theme. In console it gives me these two errors both seem to originate from wp-admin/post-new.php Uncaught ...
0
votes
1answer
37 views

$wpdb doesn't like to store arrays

I'm attempting to store an array that looks like the one below, into a cell in a database using the code below the sample array. Unfortunately, WordPress doesn't seem to want to save it, and ...
0
votes
1answer
101 views

Authentication over CURL

I am working on an API for a WordPress site. Basically, an external application (not made using WP) is able to send JSON to a file I made (api.php) and inside that file I load WP (using wp-load.php), ...
0
votes
0answers
75 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 ...
0
votes
1answer
197 views

Internet Explorer cannot display the webpage

My WP site http://kyl.fi has stopped displaying anything else than Front Page when browsing the site with IE. The problem has been confirmed by several users with several versions of IE from 9-11. ...