Beee
Forum Replies Created
-
Forum: Plugins
In reply to: [Redirection] Uncaught Error: Class “Red_Group” not foundThe link has details from other people about a similar sounding issue.
Saw it, thanks. Might visit back if my current solution doesn’t give me the results I need.
Forum: Plugins
In reply to: [Redirection] Uncaught Error: Class “Red_Group” not foundIf you changed something and it broke then probably there’s a connection!
I appreciate the quick reply, but I am not disputing what caused the breakage.
All I’m trying to find out if your plugin isn’t loaded yet, when cron jobs run in the background ? Because that would explain it slightly to me.
I have found another way to fix my issue by using a ‘mimicked’ cron job and use the admin_init hook.
Forum: Plugins
In reply to: [Redirection] Uncaught Error: Class “Red_Group” not foundCan it be related to the fact I am triggering this function from a cron job, as in it’s hooked to early ?
Before I used it as an action after a csv import.
I noticed, if I trigger the same function on
admin_init
it works… but not in a cron job….Forum: Plugins
In reply to: [Broken Link Checker] Has access for Editors changed?We have kept the accessibility of the?Broken Link Checker Dashboard widget?unchanged
That is not what he’s referring to… I’m experiencing the same. Users with the capability ‘edit_others_posts’ can not see the (old) broken link checker admin menu.
I have no intentions to switching to a cloud based solution so I’m not going to switch away from the old, so plz don’t suggest it as a solution, because it’s not the solution to my problem.
It would be welcomed if you could add more filter, for example in the function admin_menu, where
$this->page_prop('capability')
can be overridden…apply_filters( 'blc_user_access', $this->page_prop( 'capability' ) )
Forum: Plugins
In reply to: [Redirection] Add admin columnsI had the site in Dutch so I didn’t find what you meant. Have found it now, thanks.
Forum: Plugins
In reply to: [Redirection] Add admin columnsIf you mean clicking the cog wheel, that’s not what I mean. I’d like to see all priorities/orders ‘at once’.
If I misunderstand, please explain what you mean, because didn’t find anything in the top right either; ‘screen options’.
- This reply was modified 1 year, 6 months ago by Beee.
Forum: Plugins
In reply to: [Cookie Notice & Compliance for GDPR / CCPA] Hide on specific posts and pagesJust found out, this can be fixed by adding an empty div with id=”cookie-notice”.
function tk_cookie_output( $output ) { if ( $your_condition ) { $output = '<div id="cookie-notice"></div>'; } else { $output = preg_replace('/<!--(.*)-->/Uis', '', $output); } return $output; } add_filter( 'cn_cookie_notice_output', 'tk_cookie_output' );
If your condition is met, it’s hidden, if not, it strips their branding from the source code.
Forum: Plugins
In reply to: [Cookie Notice & Compliance for GDPR / CCPA] Hide on specific posts and pagesSorry to jump in but I did just that to achieve something similar (but then site wide).
It then gives an error in the console log:
Uncaught TypeError: Cannot read properties of null (reading 'classList') at Object.init (front.min.js?ver=2.2.3:1:6939) at front.min.js?ver=2.2.3:1:8399
It looks to me your js assumes the class is always there. I think you might need to adapt your JS so it can handle it when the class is non-existent.
Forum: Plugins
In reply to: [ACF City Selector] display in elementorBy using ACF.
Forum: Plugins
In reply to: [ACF City Selector] store city onlyI don’t know the plugin you’re referring to, so I can’t tell you anything about it.
This is an extension for ACF not User Pro.
Forum: Developing with WordPress
In reply to: Disabling Gutenberg Duotone Filter?Jumbo’s explanation works.
Forum: Developing with WordPress
In reply to: Disabling Gutenberg Duotone Filter?I tried adding
remove_filter( 'render_block', 'wp_render_duotone_support', 10);
but had no effect for me.Of course deactivating fixes it ??
But reactivating makes it occur again…
Which makes sense since the function is not called when the plugin is inactive.(i think) the error occurs because
$posts_per_page * ( $paged - 1 )
resolves to an integer and $itemix is a string.change line 1072 to this and I think this will fix it
'listposition' => (int) $itemix + ( $posts_per_page * ( $paged - 1 ) )
Forum: Plugins
In reply to: [Yoast SEO] there is WP notice after installing a YoastYou should delete option category_children (or product_cat_children depends on taxonomy) to force WP core to regenerate this cache.
Not my topic, but wanted to say this did it for me.
Just a bit surprised I have never read this solution somewhere before.
Forum: Plugins
In reply to: [TI WooCommerce Wishlist] Invalid argument for foreachAlso don’t forget to check if it’s actually an array…