odoremieux
Forum Replies Created
-
I still have the issue. When you do an install and nothing else. Latest WordPress, latest Ivory Search
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the
add-search-to-menudomain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at theinitaction or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/wphelpus/subs/ivory.wphelpclub.us/wp-includes/functions.php on line 6121It’s a brand new install, just for this test, it only has Ivory Search installed. I did try what you suggested, but it didn’t work. Just having DEBUG set to true is enough to see the warning.
View post on imgur.com
Apparently esc_html__ is called too early in get_punctuation_options. It’s recommended to call it at the earliest in init, plugins_loaded is too early. This warning started to appear with WordPress 6.7, so not too long ago.
I have the same issue with PHP 8.2
I have seen this problem several times.
To reproduce it, install the plugin Debug, by SoniNow Team.
- This reply was modified 11 months, 4 weeks ago by odoremieux.
If you change a bit your code
With this code, it’s added only once, and in the head. Your current code add it before the html tag
<style type="text/css" id="cst_font_data"> @font-face { font-family: 'Gotham Bold'; font-weight: 400; src: url('http://gutenberg.local/wp-content/uploads/2023/10/Gotham-Bold.otf') format('OpenType'); } </style> <!DOCTYPE html> <html class="wp-toolbar" lang="en-US"> <head>Here are some suggestions
public function add_block_assets_style() { if ( is_admin() && ! is_customize_preview() ) { wp_register_style( 'cst_font_data', false ); wp_enqueue_style( 'cst_font_data' ); add_action( 'enqueue_block_assets', array( $this, 'add_style' ) ); } add_action( 'enqueue_block_editor_assets', array( $this, 'enque_data' ) ); } public function add_style() { $font_styles = ''; $query_posts = $this->get_existing_font_posts(); if ( $query_posts ) { foreach ( $query_posts as $key => $post_id ) { $font_styles .= get_post_meta( $post_id, 'fonts-face', true ); } wp_reset_postdata(); } if ( ! empty( $font_styles ) ) { wp_add_inline_style('cst_font_data',wp_strip_all_tags( $font_styles )); /* ?> <style type="text/css" id="cst_font_data"> <?php echo wp_strip_all_tags( $font_styles ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?> </style> <?php */ } }Forum: Plugins
In reply to: [Quick Featured Images] Performance issueIt’s the list view
On the media library if you go at the top (screen options), you can select the number of items displayed on the page. You can do that for any post type
Side note the media library has over 67000 items, which has an impact of the query.
The LIKE compare characters per characters, = just the string
Forum: Plugins
In reply to: [Limit Max IPs Per User] BugHey,
It’s working. Thanks for following up.
Olivier
Forum: Plugins
In reply to: [Download Manager] compatible versions 2.6x versions 2.7 and aboveThe Migration didn’t work for us. It can’t find the files, and all the id are gone in the shortcode.
Thanks Mary Anne, it’s working.
Forum: Plugins
In reply to: [Simple Calendar - Google Calendar Plugin] Problem with recurring eventsThanks.
Yes I tried the refresh link, several times, we saw this problem few days ago, tried several refresh before asking here.
Forum: Plugins
In reply to: [Really Simple Share] Not compatible with the Facebook pluginIt’s because FB have you on the list of incompatible plugins. When the plugin is disabled, the list of incompatible plugins is empty. So it’s a FB bug, but it’s your fault 🙂 . Just pushing your buttons
Forum: Plugins
In reply to: [Really Simple Share] Not compatible with the Facebook pluginHi,
Are you using the latest version of the Facebook Plugin?
It use to work for me until I did update.
I don’t have any Facebook option enabled with the Really Simple Facebook … Plugin.
When I do enable the 2 plugins, on the Facebook plugin I get
Fatal error: Call to undefined function fb_admin_dialog() in /home/wphelpcl/public_html/blog/wp-content/plugins/facebook/admin/settings.php on line 328If I disable Really Simple Facebook … Plugin, it work with no problem.
Thanks,
Olivier
Forum: Plugins
In reply to: [Cool Video Gallery] [Plugin: Cool Video Gallery] is this abandonware?I don’t have a problem with the delete. So I guess I fixed it. 🙂
Forum: Plugins
In reply to: [Cool Video Gallery] [Plugin: Cool Video Gallery] is this abandonware?Did you turn on debugging output message on WordPress?
You can also put debug message yourself.We did add a lot of functionalities to that plugins, and that’s how we got started.
Forum: Plugins
In reply to: [Cool Video Gallery] [Plugin: Cool Video Gallery] is this abandonware?It’s a great plugin.
You can always try to fix the problem yourself.Or hire some professional to fix it for you.
You’ll have to customize the code to be able to use external videos.
Olivier (WP Help Club)