thomask
Forum Replies Created
-
This issue is 5 months old and still not solved. Any news?
yep, i know, thank you, i just wanted you to be aware of them, no prob for me.
And some more
Deprecated: Creation of dynamic property Google\Site_Kit\Core\Authentication\Setup::$proxy_support_link_url is deprecated in?/var/www/vhosts/powerbox.one/httpdocs/wp-content/plugins/google-site-kit/includes/Core/Authentication/Setup.php?on line?94
Deprecated: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /var/www/vhosts/powerbox.one/httpdocs/wp-content/plugins/google-site-kit/includes/Core/REST_API/REST_Routes.php on line 69
Deprecated: Creation of dynamic property Google\Site_Kit\Modules\Analytics\Web_Tag::$module_slug is deprecated in /var/www/vhosts/powerbox.one/httpdocs/wp-content/plugins/google-site-kit/includes/Core/Modules/Tags/Module_Tag.php on line 42
Deprecated: Creation of dynamic property Google\Site_Kit\Modules\Analytics_4\Web_Tag::$module_slug is deprecated in /var/www/vhosts/powerbox.one/httpdocs/wp-content/plugins/google-site-kit/includes/Core/Modules/Tags/Module_Tag.php on line 42
Forum: Plugins
In reply to: [DeepL API translation plugin] deprecated error codesand
Deprecated: Creation of dynamic property DeepLApiUsage::$languages is deprecated in /var/www/vhosts/powerbox.one/httpdocs/wp-content/plugins/wpdeepl/client/deeplapi.class.php on line 35
Deprecated: Creation of dynamic property DeepLApiUsage::$doing_cron is deprecated in /var/www/vhosts/powerbox.one/httpdocs/wp-content/plugins/wpdeepl/client/deeplapi.class.php on line 41
Deprecated: Creation of dynamic property DeepLApiUsage::$instance is deprecated in /var/www/vhosts/powerbox.one/httpdocs/wp-content/plugins/wpdeepl/client/deeplapi.class.php on line 44
Deprecated: Creation of dynamic property DeepLApiUsage::$result is deprecated in /var/www/vhosts/powerbox.one/httpdocs/wp-content/plugins/wpdeepl/client/deeplapi.class.php on line 184
Deprecated: Creation of dynamic property DeepLApiUsage::$why_no_cache is deprecated in /var/www/vhosts/powerbox.one/httpdocs/wp-content/plugins/wpdeepl/client/deepl-data.class.php on line 8
Deprecated: Creation of dynamic property DeepLApiUsage::$final_request is deprecated in /var/www/vhosts/powerbox.one/httpdocs/wp-content/plugins/wpdeepl/client/deeplapi.class.php on line 98
Forum: Fixing WordPress
In reply to: WordPress v6.2.1 Breaks the Shortcode Block in TemplatesWhat??? Give it back. Now.
There aare many reasons, why shortcodes should be allowed in templates. One of them for me is that they can be inline, something, what is not valid for any other blocks. So e. g. On one of my webs I have a short code [total], that shows total number of my listing’s, and I can then put it in any sentence, any paragraph, heading etc, like “we do have [total] listings. There is currently now other easy way how to do it in WordPress.
I uunderstand, that often plugin authors use shortcodes instead of blocks, and it destroys the block wysiwig feeling for the users. And I am totally open to find a solution for this problem. But not without discussing by breaking functionality on live websites in third level update. This is insane.
BTW you should ask, why plugin authors do it this way. You will probably find out, that they simply do not want to learn React, as they are whole live PHP programmers. Make an easy way, how to create wysiwig block, without need to use node, learning JS etc…. Simply the same way how they can do it now with shortcodes with one simple short function or with some admininstation, and they will not have to use shortcodes.
same for me. I guess some problems with the latest versions of PHP or WP
Forum: Plugins
In reply to: [WordPress Slider Block Gutenslider] fatal errorWP 5.8.1., PHP 8 (some latest)
The problem probably occurs, when user duplicate a block / one slide and then edits it. I need to watch the user what is he doing, it has never happened to me on the same instalation. But still a good plugin should never fire fatal errors on some post edit action of non-admin user (it was wired on both frontend and admin edit post, so i had to turn off the plugin and then delete the added slide to revert it).
Forum: Plugins
In reply to: [WordPress Slider Block Gutenslider] fatal errorand another one after he tried it again
Fatal error: Uncaught ArgumentCountError: 9 arguments are required, 3 given in /var/www/vhosts/sciencein.cz/httpdocs/wp-content/plugins/gutenslider/src/blocks/gutenslide/block-front.php:280 Stack trace: #0 /var/www/vhosts/sciencein.cz/httpdocs/wp-content/plugins/gutenslider/src/blocks/gutenslide/block-front.php(280): sprintf() #1 /var/www/vhosts/sciencein.cz/httpdocs/wp-content/plugins/gutenberg/lib/compat.php(132): eedee_gutenslide_dynamic_render_callback() #2 /var/www/vhosts/sciencein.cz/httpdocs/wp-includes/class-wp-block.php(221): {closure}() #3 /var/www/vhosts/sciencein.cz/httpdocs/wp-includes/class-wp-block.php(211): WP_Block->render() #4 /var/www/vhosts/sciencein.cz/httpdocs/wp-includes/blocks.php(868): WP_Block->render() #5 /var/www/vhosts/sciencein.cz/httpdocs/wp-includes/blocks.php(906): render_block() #6 /var/www/vhosts/sciencein.cz/httpdocs/wp-includes/class-wp-hook.php(303): do_blocks() #7 /var/www/vhosts/sciencein.cz/httpdocs/wp-includes/plugin.php(189): WP_Hook->apply_filters() #8 /var/www/vhosts/sciencein.cz/httpdocs/wp-includes/post-template.php(253): apply_filters() #9 /var/www/vhosts/sciencein.cz/httpdocs/wp-content/themes/generatepress/content-page.php(73): the_content() #10 /var/www/vhosts/sciencein.cz/httpdocs/wp-includes/template.php(772): require('...') #11 /var/www/vhosts/sciencein.cz/httpdocs/wp-includes/template.php(716): load_template() #12 /var/www/vhosts/sciencein.cz/httpdocs/wp-includes/general-template.php(204): locate_template() #13 /var/www/vhosts/sciencein.cz/httpdocs/wp-content/themes/generatepress/inc/theme-functions.php(568): get_template_part() #14 /var/www/vhosts/sciencein.cz/httpdocs/wp-content/themes/generatepress/page.php(34): generate_do_template_part() #15 /var/www/vhosts/sciencein.cz/httpdocs/wp-includes/template-loader.php(106): include('...') #16 /var/www/vhosts/sciencein.cz/httpdocs/wp-blog-header.php(19): require_once('...') #17 /var/www/vhosts/sciencein.cz/httpdocs/index.php(17): require('...') #18 {main} thrown in /var/www/vhosts/sciencein.cz/httpdocs/wp-content/plugins/gutenslider/src/blocks/gutenslide/block-front.php on line 280
you clearly have many uncatched fatal errors, i will change the slider plugin
Dear Dave, i do not care HOW you do it, i can probably imagine how you could do it. What i say is that your methods are probably bugy or not working at all, when 100 % of typical bot visits you declare as human. If i would show even one bot in all the visits, i would say, that it just works sub-optimally, but when 100 % of thousands and thousands of visits are defined as human, than i guess it does not work at all.
P.S.: wordfence has no javascript on the page if user is not logged in, so I have no clue how you would be able to observe activity on page with javascript.
Oh @wfgerald, i see. The problem is, that i use the latest jQuery version (3.4.1), not that wp built-in from several years old ver. 1.2 branch. Interesting, you are the only plugin, that got problems with that.
P.S: this is my setup if you want to test it with modern jquery//Remove JQuery migrate function remove_jquery_migrate($scripts) { if (!is_admin() && isset($scripts->registered['jquery'])) { $script = $scripts->registered['jquery']; if ($script->deps) { // Check whether the script has any dependencies $script->deps = array_diff($script->deps, array( 'jquery-migrate' )); } } } add_action('wp_default_scripts', 'remove_jquery_migrate'); //Making jQuery to load from Google Library function replace_jquery() { if (!is_admin()) { // comment out the next two lines to load the local copy of jQuery wp_deregister_script('jquery'); wp_register_script('jquery', '//code.jquery.com/jquery-3.4.1.slim.min.js', false, NULL,true); wp_enqueue_script('jquery'); wp_script_add_data( 'jquery', 'integrity', 'sha256-pasqAKBDmFT4eHoN2ndd6lN370kFiGUFyTiUHWhU7k8='); wp_script_add_data( 'jquery', 'crossorigin', 'anonymous' ); } } add_action('init', 'replace_jquery');
Forum: Plugins
In reply to: [Gutenberg Block Editor Toolkit – EditorsKit] hide title conflictI have found more serious problem with this issue – the title is hidden also from admin area when adding the link to document with a hidden title.
It is strange and IMO a bug in WordPress, because you are calling !is_admin condition, but as i am googling it, the problem is, that that add link popup uses external json call, e.g. see
https://stackoverflow.com/questions/39115564/wordpress-hook-filter-to-process-link-inside-a-post/39176559
I will try to find the filter how to solve it, but maybe you will be quicker as you are clearly more experienced dev. ??Forum: Plugins
In reply to: [Gutenberg Block Editor Toolkit – EditorsKit] hide title conflictjust for info if someone has the same problem – sometimes it can be “solved” by turning the filter off before the other plugin call and then turn it on back. E.g. for my breadcrumb problem, you can use:
remove_filter( 'the_title', 'editorskit_hide_title', 10, 2 ); bcn_display(); add_filter( 'the_title', 'editorskit_hide_title', 10, 2 );
Forum: Plugins
In reply to: [Custom Post Type UI] remove the metabox for CPT does not workyou are right Michael – the problem is in the gutenberg. I can turn it off for this CPT so problem solved for me now ??
Thank you
Forum: Plugins
In reply to: [Custom Post Type UI] remove the metabox for CPT does not workAlso from uknown reason metabox of the taxonomy is not in metabox array so I do not know how to delete id via action
add_action( ‘add_meta_boxes’, function() {
global $wp_meta_boxes;
var_dump($wp_meta_boxes);}, 999);
Forum: Plugins
In reply to: [Loco Translate] Loco Translate does not find strings in any theme filesHi @timwhitlock
i am also lost as romashah62
i understand the process, but the problem is, taht i do not see any way, how can i sync the POT with the source code and i believe i have walked it all through several times
When i click edit template, so when i am on
/wp-admin/admin.php?path=themes%2Ffutureportprague%2Fcs_CZ.po&bundle=futureportprague&domain=futureportprague&page=loco-theme&action=file-edit
so i am in the Editor, there is only one Sync and that sync with the pot. I do not see any sync or anything else that is syncing source to the pot.
There is no problem with the files, i can save them etc. So i am completely blind or there is some problem with the plugin