The tag has no wiki summary.

learn more… | top users | synonyms (1)

0
votes
2answers
50 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 = ...
0
votes
0answers
7 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
votes
0answers
19 views

Parse error: syntax error, unexpected 'if' (T_IF) on line 29 [closed]

I need to get rid of the following WordPress error Parse error: syntax error, unexpected 'if' (T_IF) in /footer.php on line 29 <?php if(!is_front_page() && !is_single() && ...
0
votes
0answers
8 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
34 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
1answer
24 views

Why do I get so many error_log messages related to functions.php? [closed]

I have a couple of WP sites that have been generating huge error_log files recently - 30+ GB. I have been able to configure the server to limit the size of those files so they don't disrupt the ...
0
votes
0answers
13 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
12 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
21 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
119 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
27 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
39 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
31 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
24 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
50 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
0answers
36 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
18 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
64 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
48 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, ...
-1
votes
3answers
44 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
32 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
26 views

User Registration Custom Errors

I'm trying to create custom errors when creating a new user. The purpose is to not allow certain usernames such as "admin" from being created. I did run across the registration_errors hook but cannot ...
0
votes
1answer
16 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
23 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
35 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
31 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
74 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
42 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
66 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
18 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
81 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
18 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
19 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
24 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
56 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
20 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
308 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
32 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
82 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
54 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
153 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. ...
1
vote
2answers
47 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 ...
0
votes
1answer
162 views

Function Error after WP Upgrade to 3.9.1

Following the update to WP 3.9.1 and MySQL I am getting the following error on a site: Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method ...
0
votes
1answer
39 views

Functions are causing errors

I'm declaring a function on a plugin's PHP. The plugin loads code at the top of each post (Post Layout is the plugins name). Cannot redeclare vote_up() (previously declared in ...
0
votes
1answer
304 views

TypeError: window.tinyMCE.execInstanceCommand is not a function

I can't add any shortcode in my wordpress editor. it shows - TypeError: window.tinyMCE.execInstanceCommand is not a function window.tinyMCE.execInstanceCommand(id, 'mceInsertContent', false, ...
0
votes
1answer
54 views

Weird string offset errors when displaying post attachments

I'm trying to create a gallery page that takes image attachments from a certain category and displays them. It works but I have a problem it seems where I'm trying to exclude certain attachment types ...
0
votes
0answers
59 views

403 Forbidden error when using the wp_login_form function

I use the function wp_login_form twice in my site for a simple client login. However, suddenly the problem started and every time I use it I receive this 403 forbidden error. My .htacess looks like ...
-1
votes
1answer
38 views

What does that mean: cannot use a scalar value as an array [closed]

I've got a theme and when I host it locally on my MAMP server I have no issues, after moving it to a web server get the following issue: Warning: Cannot use a scalar value as an array in ...
0
votes
0answers
43 views

Enqueue script throws error in console

WP version 3.9 I am editing the customizer. I have an upload field for uploading a logo. When I try to upload I receive an error. TypeError: wp.media.model.settings.post is undefined I tracked ...