Tag Info

New answers tagged

2

Your problem is that you're using Reserved Terms. error is a reserved term, you can't use it. To get around this, you could intercept the request early, and do a redirect, changing the query parameters in the process. For example, handling a link get parameter: add_action( 'wp' , 'reserved_term_intercept' ); function reserved_term_intercept(){ global ...


0

First change the theme to wordpress default. If it continues after that go ahead and rename your plugins folder to xplugins (use FTP or Cpanel/Plesk). If it disappeared after that then you surely knows something is wrong with a plugin. Now go ahead and rename the folder to original and go through plugin by plugin renaming each until you get to the ...


0

I got the same error message after a plugin update for my [directory] website 1 Asked the hosting company to increase the allowed size but didn't work. Uninstalled all plugins and reinstall one by one and here goes the bingo.


0

There is a class variable that stores the last error string - $wpdb->last_error. By the looks of the way $wpdb is coded, if the query succeeds, $wpdb->last_error will be an empty string, if it fails, it will be the error string returned by MySQL. So something like this would do the trick. $result = $wpdb->get_results("SELECT * FROM this is not a valid ...


1

Found the problem. It was a problem with my host, in the path the ID3 folder name was uppercase, while on the server for some reason it was lowercase, this is why it didn't find it.


1

get_term_link() will return a WP_Error object on error. You can't print an object or array or you will get messages similar to what you are getting. Use var_dump() instead or print_r() and you should see what is occuring. Your error even tells you that WP_Error is the object involved. You are getting errors when the term you are looking for is not found. ...


0

Okay, this is weird. I walked away for coffee, came back, and the error was gone. I was then presented with the WordPress login screen.


0

In case you use a "child theme", i would search also in the parent themes function.php @see https://codex.wordpress.org/Child_Themes


0

The recommended best practice is to use a mu-plugin for this. Adding add_filter()s to wp-config.php directly can cause all kinds of other problems and conflicts.


1

I've had the same problem and found it was due to the upload file size set for the server (in my case 2mb). There is another setting which escapes me at this point, but is basically a limit on the amount of space that can be used to process uploaded images...which WordPress does when it re-sizes the images on upload. Unfortunately, unless you have root ...


0

I found the same problem at 2 of my clients websites. The problem in both cases was in the page.php situated in the theme file. What I did? First; made sure WordPress was fresher up by reinstalling manually. Then removed the malicious code from the page.php file and voila!Works like a charm! Hope this helps!


0

Immediately Take backup of the root files from your Hosting panel and Upload fresh WordPress files, it will fix the issue. Its not a Database Issue Rather a New Hack came which is making sites corrupt. There is not changes in .htaccess and other thing. Instead of spending time on hit and trial please follow what I advice, Just coming from recovering a ...


0

Somehow your files get broken. It can be UTF8 encoding problem, hacker attack, broken plugin. It's difficult to say what happend without checking your files and log. I recommend you to backing up all files&database , deactivate all plugins and themes and update manually by following this guide : codex.wordpress.org/Updating_WordPress#Manual_Update


0

This is a tricky one. You don't really need to look at wp-includes/plugin.php, there is nothing wrong with that file, it's a core file so you should just leave it alone, like all the other core files. The reason it's tricky is because actions and filters in core expect a working callback function, but when you add_action or add_filter it never really ...



Top 50 recent answers are included