Questions tagged [errors]

Not all errors one encounters while working with WordPress are actually caused by WP. When asking about errors be as specific as possible. Just telling which error you get, is usually not enough to help you tracking it down.

Filter by
Sorted by
Tagged with
1
vote
2answers
10k views

Notice: Constant already defined in wp-config.php on (non-existent) line?

I've been tasked to move a website into a new domain, and I've encontered this weird issue. On the homepage, I always see these: Notice: Constant AUTOSAVE_INTERVAL already defined in /home/gturnat/...
1
vote
0answers
960 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 ...
1
vote
3answers
2k views

get_the_content if it contains multiple lines it results in SyntaxError

I use get_the_content to pass to a javascript variable, and then back to another PHP function. This works great, but there is an issue when using get_the_content. If the post contains only one line (...
1
vote
1answer
117 views

Error Logs to Diagnose Error 500 in LAMP

My Wordpress site is installed in a LAMP stack (Linux, Apache, MySQL, PHP). Suppose I encounter HTTP error 500. What logs might help diagnose the issue? How can the logs be enabled? What are the ...
0
votes
1answer
674 views

check for the current screen

i'm working on my core theme plugin, i created a theme options in theme admin page, normally to avoid nonces errors, i must separate the sections with tabbed navigation, so i successfully did it , the ...
0
votes
1answer
83 views

Publishing Time - WordPress Plain White Screen with No Error

Publishing Time - WordPress Plain White Screen with No Error. Whenever I try to publish something, WordPress shows the following page with no error. Yes, pages and posts are getting publishing but ...
0
votes
2answers
2k views

Why am I sometimes getting a 404 error when I try to update a page with Elementor?

When updating a page with Elementor, we're occasionally receiving a 404 error. Most of the time we can update the page just fine, but when we try to add a <script> tag or a button with a custom ...
0
votes
1answer
2k views

500 Internal Server Error after Register dialog, but with successful registration

I get a 500 Internal Server error if I try to register a new user. This user will be created successfully, but I don't want that my users will see the error page and, therefore, think that something ...
0
votes
2answers
871 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
0answers
826 views

http error when uploading media files

I am having this same annoying issue many other have: When I am trying to upload images into Wordpress via the media uploader, it gives me an http error. Now I have tried the following, but nothing ...
0
votes
1answer
762 views

418 header status, I'm a teapot [closed]

I'm just backing up a clients via ftp site prior to working on it, when suddenly all urls are returning an error page with the header status being 418. A quick Google finds that this was created for ...
0
votes
1answer
247 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
1k views

Page template gives 'Parse error: syntax error' when used, but no error found!

I get this message, whenever I activate this page template for one page, for instance about.php : Parse error: syntax error, unexpected end of file in /home/u425744603/public_html/wp-content/themes/...
0
votes
1answer
2k views

“Notice: Undefined index:” error when adding new content?

I'm getting the following error... Notice: Undefined index: album_tracks_metabox_nonce in /Applications/MAMP/htdocs/TheToasters/wp-content/themes/Toasters/discography-post-type.php on line 124 ......
0
votes
1answer
312 views

Full-Ajax Theme: parseJSON error while building a JSON object from a Wordpress custom template

Trying to make a full-ajax navigation on my new portfolio, I read online on a few different blog that building the templates using JSON would be easier in order to treat the datas however I want. It ...
0
votes
1answer
70 views

Add image only in first post

This is code of a category.php file, I use the bootstrap 12 column grid. The posts are given out in 6 column rows. But I want a picture to be next to the first post. I tried to accomplish this with a ...
0
votes
1answer
1k views

Warning: Cannot modify header information – headers already sent

I've checked the offical "How do I solve the Headers already sent warning problem?" and have resolved a whitespace problem, changing: function mhm_footerheader_position () to function ...
0
votes
0answers
187 views

Getting stripos error when trying to add menu classes

I'm using a custom theme that is doing something that blocks Custom Menu Classes (the optional ones that you can input from inside the Menu Panel) to print to HTML. I found in the code where they are ...
0
votes
2answers
2k 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
votes
1answer
519 views

“Are you sure you want to do this?” when deactivating all plugins in Wordpress 4.3.1 [closed]

Wordpress version 4.3.1, running in network mode. Logged in as super admin. In the main site's dashboard. When I try to deactivate all active plugins at once, I am taken to a white screen with the ...
-2
votes
1answer
2k views

Wordpress Errors in generated by theme check plugin [closed]

Please help me in solving these warnings, in order to submit the theme for submission. Thanks in Advance. I have found many warnings and have solved many of them thanks to wordpress.stackexchange.com ...

1
2