If you’re seeing this error, you’re probably seeing it twice.
Warning: Use of undefined constant ace – assumed ‘ace’ (this will throw an Error in a future version of PHP) in /your-path/wp-content/plugins/advanced-category-excluder/advanced-category-excluder.php on line 310
SEE BELOW FOR FIX…
FIX:
There are two places on that line (310) where the single quotes around ‘ace’ are missing. Add single quotes to each to match all the others and you’re good to go.
Warning: mysql_get_server_info(): Access denied for user ‘root’@’localhost’ (using password: NO) in /home1/v1ncent/public_html/wp-content/plugins/advanced-category-excluder/advanced-category-excluder.php on line 128
Looks like this plugin has died.
Is there any alternative?
]]>ACE will throw an error on an upgrade to php5.5 or greater. It has to do with a line of code the looks for the sql version that is no longer supported in new versions of PHP.
replace line 128 in the advanced-category-excluder.php file with:
$sql_version = (PDO::ATTR_SERVER_VERSION);
Mike
]]>Hello,
With no changes on my part whatsoever, a few days ago, the following line (repeated multiple times) started to appear in the dashboard when I save updated menu:
Warning: strtolower() expects parameter 1 to be string, array given in /homepages/44/d186005129/htdocs/dmme/wp-includes/formatting.php on line 1870
A few days later, another message appeared – this time on the public-facing first page of my site, above the content (twice) and in the widget area (twice):
Warning: mysql_get_server_info(): No such file or directory in /homepages/44/d186005129/htdocs/dmme/wp-content/plugins/advanced-category-excluder/advanced-category-excluder.php on line 128
I had this plugin installed for me, as I’m not a coder; and I did try to deactivate and activate it. When it’s activated again, the message reads:
The plugin generated 426 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.
Could you help me resolve this issue, please?
]]>Hello.
Our provider forced us to switch to PHP 7.0 and now it seems that ACE is no more running. Error messages only see: https://www.screencast.com/t/h0ozFqAatJBf
We need to deactivate ace. Can this be solved quickly or do I need to look for an other plugin?
Wilhelm
https://www.ads-software.com/plugins/advanced-category-excluder/
]]>I can’t make sense of the descriptions on the settings. I simply want to have certain posts show up on my home page, but not on the home page widget area. https://www.gethiredrdh.com
I’ve tried lots of combinations but am not getting it quite right.
https://www.ads-software.com/plugins/advanced-category-excluder/
]]>I only ever used this plugin for one reason and that was to hide one type of post from the front page of my blog, but otherwise show it. I haven’t needed it for a long time and so hadn’t noticed any issues with that side of it.
However, I have been trying to get to the bottom of missing links from the link manager FOR YEARS! (obviously I wasn’t that serious about it, but tonight I decided I wanted it fixed).
Situation: Links within the old link manager were missing in action when “All Categories” filter (the default) was selected in the links admin area. If you choose the actual category, the links showed up. However, for links that had fallen through the cracks and were not assigned to a category (I have a few), these were not visible anywhere.
I played with all the settings under ACE, but couldn’t get them back.
I disabled the plugin, and my links have returned.
Time for this plugin to go
https://www.ads-software.com/plugins/advanced-category-excluder/
]]>Hi,
The UNCATEGORISED doesn’t appear on the list of posts I can exclude. How can I achieve this?
Thank you
Paolo
https://www.ads-software.com/plugins/advanced-category-excluder/
]]>Hi!
I’m trying to trace what is the cause of 404 errors in our category archive pages. I found this in our error logs.
[Thu Apr 09 09:34:56.826156 2015] [:error] [pid 29819] [client 66.249.64.138:37251] PHP Warning: mysql_get_server_info(): A link to the server could not be established in ***/wp-content/plugins/advanced-category-excluder/advanced-category-excluder.php on line 128
Any ideas if the 404 error and this error log related?
Thanks!
https://www.ads-software.com/plugins/advanced-category-excluder/
]]>How do I exclude not only a single category but it’s subcategories also?
https://www.ads-software.com/plugins/advanced-category-excluder/
]]>My website host is prompting users to upgrade to PHP 5.5.0, but the Advanced Category Excluder plugin isn’t fully compatible. Specifically, this function in the code is deprecated in PHP 5.5.0, and causes error messages to appear at the top pages on which the ACE is active:
mysql_get_server_info()
I’ve had to re-downgrade the PHP version on my sites using ACE to PHP 5.4, but this isn’t a long-term solution. Any chance the plugin could be updated to replace this function with a function compatible with newer versions of PHP?
https://www.ads-software.com/plugins/advanced-category-excluder/
]]>If I have 2 pages and neither are a home page but want different categories not as archives only on each post what are the correct check boxes.
example: from menu
page 1 I want only posts with category article
page 2 I want only posts with category podcast.
https://www.ads-software.com/plugins/advanced-category-excluder/
]]>Hi,
This plugin is great but on the single page the previous and next posts links is not compatible with ACE plugin.
When a category is excluded with ACE, posts from this category still presents as previous and next posts links.
Any help would be appreciated thanks!
https://www.ads-software.com/plugins/advanced-category-excluder/
]]>Want to build a site where user would enter their zip code on home page, which would trigger certain pages to display (products available in their area). Can this plug-in do this?
https://www.ads-software.com/plugins/advanced-category-excluder/
]]>Just installed All-in-One Event calendar and it broke ACE … Anyone have any experience with that?
https://www.ads-software.com/plugins/advanced-category-excluder/
]]>This plugin could be more powerful if it would allow selecting for which user roles the selected categories are excluded.
https://www.ads-software.com/plugins/advanced-category-excluder/
]]>I am not trying to exclude any posts from my home page. What I want is that posts I mark as a certain category go to a different page. I have two categories of post: Book Reviews and Let’s Chat. I want the Let’s Chat articles to go to a page with the same name. Will this plugin allow me to do that? If so, how do I do it?
https://www.ads-software.com/plugins/advanced-category-excluder/
]]><meta name=”robots” content=”noindex, nofollow”>
https://www.ads-software.com/plugins/advanced-category-excluder/
]]>ACE uses the php split function on line 367:
$cats = split(',',get_option("ace_categories_norobots"));
but this function is deprecated in PHP 5.3.13. Hoping this will be fixed in an upcoming update, but for now I’ve temporarily replaced ‘split’ with ‘preg_split’, which seems to have done the trick:
$cats = preg_split(',',get_option("ace_categories_norobots"));
I’m very new to php, so am wondering if this “fix” will mess anything else up, and/or if there’s a better solution.
Thanks in advance.
https://www.ads-software.com/plugins/advanced-category-excluder/
]]>RSS problem… I do’nt know, just activate it in a clean WP installation and you’ll se…
https://www.ads-software.com/plugins/advanced-category-excluder/
]]>I installed the plugin but there is no item for Setting shown. Any ideas why?
Thanks
https://www.ads-software.com/plugins/advanced-category-excluder/
]]>Can I specify a date to restrict which categories are shown?
I only want to see categories/posts from a specific date.
Thanks,
– Nilanjan
https://www.ads-software.com/plugins/advanced-category-excluder/
]]>How can custom post types be used?
https://www.ads-software.com/plugins/advanced-category-excluder/
]]>Im looking for a plugin that helps me hide a post (from a category) that i publish on my main page and from my single pages.
So if i publish a post i dont want anyone to be able to find it UNLESS they have the direct url to it.
Note: i do NOT want the users to be able by accident to enter the blog post either by using the next / prev button on my blog. I have installed and tested the advanced-category-excluder that works great. it hides the post (category) from the main page, but people can still access the post if they are in single.php and using the next and prev arrow to browse my blog.
Does anyone know how to fix this? so that people are not able to access the hidden category posts if they are browsing with the next and prev buttons via single.php?
i do know that i can hide the the single post, but when i do this and the visitor uses the next / prev buttons they will reach to a 404 error page (where the hidden post should be instead) instead of just browsing to the next post
https://www.ads-software.com/plugins/advanced-category-excluder/
]]>Hi,
I found there are some single quotes missing for two text domain strings. I just fixed them to avoid warning notices when WordPress debug mode is on:
// Before
$ace_targets = array('is_archive'=>__('Archive','ace'),'is_home'=>__('Home','ace'),'is_feed'=>__('RSS Posts','ace'),'is_comment_feed'=>__('RSS Comments','ace'),'is_search'=>__('Search','ace'), 'is_page'=>__('Pages', ace), 'is_single'=>__('Single Posts', ace),'norobots'=>__('Disable robots','ace'));
Fix:
// After
// Line 309
// File: advanced-category-excluder.php
$ace_targets = array('is_archive'=>__('Archive','ace'),'is_home'=>__('Home','ace'),'is_feed'=>__('RSS Posts','ace'),'is_comment_feed'=>__('RSS Comments','ace'),'is_search'=>__('Search','ace'), 'is_page'=>__('Pages', 'ace'), 'is_single'=>__('Single Posts', 'ace'),'norobots'=>__('Disable robots','ace'));
Cheers.
https://www.ads-software.com/plugins/advanced-category-excluder/
]]>Just installed plugin – works great, except excluded categories still display on our blog page in the standard Categories sidebar listing. They are excluded from the posts and the standard Archives sidebar list.
Am I missing a flag?
https://www.ads-software.com/extend/plugins/advanced-category-excluder/
]]>when i go for active, their is two plugins named Advanced Category Excluder
https://www.ads-software.com/extend/plugins/advanced-category-excluder/
]]>Using this plugin with the latest WP, my default blog page no longer lists posts in descending chronological order. They are ordered on what almost seems to be by author and then date, but not exactly.
I have tried disabling all plugins and using a default theme with the same results.
https://www.ads-software.com/extend/plugins/advanced-category-excluder/
]]>Just downloaded and activated this plugin, It worked! but now i have two “Home” links in my nav.
https://www.ads-software.com/extend/plugins/advanced-category-excluder/
]]>Anytime I go to a non existing page on my WordPress I get some Undefined variable errors caused by the plugin. Any ideas how to fix this?
“Notice: Undefined variable: filter in /home1/coreyteg/public_html/bolivares/wp-content/plugins/advanced-category-excluder/advanced-category-excluder.php on line 446”
https://www.coreytegeler.com/bolivares/asdas
https://www.ads-software.com/extend/plugins/advanced-category-excluder/
]]>