jayharland
Forum Replies Created
-
Following up, for anyone else that ends up here, I can reproduce the notice
_load_textdomain_just_in_time was called incorrectlywith a fresh install of WordPress, Kadence Blocks and Solid Security plugins activated.There are posts about this on both support forums, where the replies indicate it has been fixed in a previous version and that plugin conflicts should be investigated.
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the
better-wp-securitydomain was triggered too early…
You can reproduce this with a fresh install of WordPress, Solid Security and Kadence Blocks plugin.
I posted this on their support forum but since the notice doesn’t appear when just Kadence Blocks is being used, here we are.Yeah, I had ruled out other plugins – I did not – I disabled them all and changed themes, but since I can’t reproduce this with a fresh install and just Kadence with Kadence Blocks, I will return to the sites in question and keep digging. Thanks for the response.
- This reply was modified 9 months, 4 weeks ago by jayharland.
I solved this on my own by removing the action that queues the stylesheets/scripts. If it helps anyone else:
add_action('admin_enqueue_scripts', 'mysite_admin_dequeue_widget_options'); function mysite_admin_dequeue_widget_options($hook){ if(function_exists('widgetopts_load_admin_scripts')){ // Check for ACF options pages if(function_exists('acf_get_options_pages')){ $acf_options_pages = acf_get_options_pages(); $hook = str_replace('toplevel_page_', '', $hook); if(array_key_exists($hook, $acf_options_pages)){ remove_action('admin_enqueue_scripts', 'widgetopts_load_admin_scripts', 100); } } } }I was experiencing the same thing and I believe I have found the culprit.
The notice is pretty clear whats happening (though it does a poor job saying where it happened) and so I searched the plugin code for instances of
wp_cache_getandwp_cache_set. I then looked at what values were being passed as the key.Low and behold, in
em-taxonomy-term.phpon line 118, inside of a function namedget_color(),wp_cache_getandwp_cache_setare utilized with theterm_idas the key if color is not set. This was the problem for me as some of my events had no category and thus noterm_id!In
em-taxonomy-term.phpI added an additional check forget_color():if( empty($this->color) && !empty($this->term_id))This cleared up the notices for me, though I bet that just ensuring all events had a category would also do the trick. I hope this helps!
- This reply was modified 3 years, 3 months ago by jayharland.
I’ve noticed it is possible to override the icons by recreating them in your theme’s style.css file.
They’re created using CSS variables like:
.em {
--icon-name: '';
}A example would be icon-calendar-empty:
.em {
--icon-calendar-empty: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' viewBox='0 0 512 512' fill='red'%3E%3Cg stroke='null'%3E%3Cpath d='M472 47.37289h-8V30.42374c0-14.01907-10.766-25.42373-24-25.42373s-24 11.40466-24 25.42373v16.94915H96V30.42374C96 16.40467 85.234 5.00001 72 5.00001S48 16.40467 48 30.42374v16.94915h-8c-22.056 0-40 19.00847-40 42.37288v372.88136c0 23.36441 17.944 42.37288 40 42.37288h432c22.056 0 40-19.00847 40-42.37288V89.74577c0-23.36441-17.944-42.37288-40-42.37288zm-40-16.94915c0-4.67267 3.589-8.47458 8-8.47458s8 3.80191 8 8.47458v25.4036c0 .00742-.001.01377-.001.02013s.001.01377.001.02013v25.4036c0 4.67267-3.589 8.47458-8 8.47458s-8-3.80191-8-8.47458V30.42374zM72 21.94916c4.411 0 8 3.80191 8 8.47458V81.2712c0 4.67267-3.589 8.47458-8 8.47458s-8-3.80191-8-8.47458V30.42374c0-4.67267 3.589-8.47458 8-8.47458zm400 466.10169H40c-13.234 0-24-11.40466-24-25.42373v-322.0339h384c4.418 0 8-3.79449 8-8.47458s-3.582-8.47458-8-8.47458H16V89.74575c0-14.01907 10.766-25.42373 24-25.42373h8v16.94915c0 14.01907 10.766 25.42373 24 25.42373s24-11.40466 24-25.42373V64.32202h320v16.94915c0 14.01907 10.766 25.42373 24 25.42373s24-11.40466 24-25.42373V64.32202h8c13.234 0 24 11.40466 24 25.42373v33.89831h-16c-4.418 0-8 3.79449-8 8.47458s3.582 8.47458 8 8.47458h16v322.0339c0 14.01907-10.766 25.42373-24 25.42373z'/%3E%3Cpath d='M448 123.64407h-16c-4.418 0-8 3.79449-8 8.47458s3.582 8.47458 8 8.47458h16c4.418 0 8-3.79449 8-8.47458s-3.582-8.47458-8-8.47458z'/%3E%3C/g%3E%3C/svg%3E");
}Above I copied/pasted the SVG information from the plugin CSS into my own style.css and changed fill to “red”.
This is not perfect if you wanted to recolor everything but it’s a start.
Marking as resolved.
Yes, once I disabled the blacklist and added the info to the .htaccess file manually, it was no longer being overwritten. Thank you.
To follow up, iThemes overwrote my modification of course, which I didn’t consider. What I ended up doing was copying HackRepair.com’s blacklist, disabling it in iThemes and manually adding it to my .htaccess with the modification.
Thank you for the help!
To follow up, if I change my backup settings to “Store Locally and Email”, I receive the emails normally.
The problem is I do not want to receive emails with the backup attached since I backup the entire server weekly, as well as the individual websites every other day. I don’t need them in my email as well.
Forum: Plugins
In reply to: [Enhanced Media Library] 5.3 CrashesCrazy? I wonder if anyone else has noticed.
I’ve opted to no longer use this plugin and instead manually integrate Events Manager into the most recent version of FullCalendar.
Forum: Plugins
In reply to: [Custom Field Suite] Export CFS Data from PostI would also like to know how to do this as I spent a ton of time entering data into a custom field loop and need to move it into a different page.
Forum: Plugins
In reply to: [W3 Total Cache] Server Technology is VisibleWell look at you Mrs. I’m super smart! lol
Thanks, that did the trick.