Forum Replies Created

Viewing 15 replies - 1 through 15 (of 46 total)
  • exactly the same problem …

    it prevents me from editing a post… Is there any workaround except using another component ?

    is the fix available in the version that was delivered today (or yesterday) alongside WP 6.2 update ?

    Thread Starter le.mag.cinema

    (@lemagcinema)

    thanks for your reply. I made it another way, by subclassing the_get custom_logo method
    but I would have preferred if the function was avalaible directly from polylang without having to change the code.
    :

    function custom_polylang_multilang_logo( $value ) {
    	if ( function_exists( 'pll_current_language' ) ) {
    		$logos = array(
    			'fr' => wp_get_attachment_image('xxx', 'full'),
    			'en' => wp_get_attachment_image('xxx', 'full'),
    		);
    		$default_logo = $logos['fr'];
    		$current_lang = pll_current_language();
    		if ( isset( $logos[ $current_lang ] ) )
    			$value = $logos[ $current_lang ];
    		else
    			$value = $default_logo;
    	}
    	$html = sprintf( '%2$s',
                esc_url( home_url( '/' ) ),
                $value
            );
    	return $html;
    }
    add_filter( 'get_custom_logo', 'custom_polylang_multilang_logo' );
    Thread Starter le.mag.cinema

    (@lemagcinema)

    I do not think the gallery is accidentally missing its args as https://lemagcinema.fr/festivals/amy-grantham-lily-deauville-2013/ is working properly …
    So I think your fix will be helpful as soon as available.

    Thread Starter le.mag.cinema

    (@lemagcinema)

    PHP compatibility checker is not working with PHP 8

    Here are the log files … The fatal error is on amp plugin

    Deprecated: Return type of Pimple\Container::offsetExists($id) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/lemagcin/www/wp/wp-content/plugins/better-wp-security/vendor-prod/pimple/pimple/src/Pimple/Container.php on line 133
    
    Deprecated: Return type of Pimple\Container::offsetGet($id) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/lemagcin/www/wp/wp-content/plugins/better-wp-security/vendor-prod/pimple/pimple/src/Pimple/Container.php on line 98
    
    Deprecated: Return type of Pimple\Container::offsetSet($id, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/lemagcin/www/wp/wp-content/plugins/better-wp-security/vendor-prod/pimple/pimple/src/Pimple/Container.php on line 79
    
    Deprecated: Return type of Pimple\Container::offsetUnset($id) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/lemagcin/www/wp/wp-content/plugins/better-wp-security/vendor-prod/pimple/pimple/src/Pimple/Container.php on line 143
    
    Deprecated: Return type of iThemesSecurity\Lib\Lockout\Execute_Lock\Context::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/lemagcin/www/wp/wp-content/plugins/better-wp-security/core/lib/lockout/execute-lock/abstract-context.php on line 60
    
    Deprecated: Return type of iThemesSecurity\Lib\Lockout\Execute_Lock\Context::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/lemagcin/www/wp/wp-content/plugins/better-wp-security/core/lib/lockout/execute-lock/abstract-context.php on line 66
    
    Deprecated: Return type of iThemesSecurity\Lib\Lockout\Execute_Lock\Context::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/lemagcin/www/wp/wp-content/plugins/better-wp-security/core/lib/lockout/execute-lock/abstract-context.php on line 72
    
    Deprecated: Return type of iThemesSecurity\Lib\Lockout\Execute_Lock\Context::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/lemagcin/www/wp/wp-content/plugins/better-wp-security/core/lib/lockout/execute-lock/abstract-context.php on line 76
    
    Deprecated: Return type of iThemesSecurity\Lib\Lockout\Execute_Lock\Context::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/lemagcin/www/wp/wp-content/plugins/better-wp-security/core/lib/lockout/execute-lock/abstract-context.php on line 56
    
    Deprecated: Return type of ITSEC_Lib_Distributed_Storage_Cursor::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/lemagcin/www/wp/wp-content/plugins/better-wp-security/core/lib/class-itsec-lib-distributed-storage.php on line 578
    
    Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /home/lemagcin/www/wp/wp-content/plugins/feedzy-rss-feeds/includes/admin/feedzy-rss-feeds-import.php on line 2170
    
    Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /home/lemagcin/www/wp/wp-content/plugins/feedzy-rss-feeds/includes/admin/feedzy-rss-feeds-import.php on line 2170
    
    Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /home/lemagcin/www/wp/wp-content/plugins/feedzy-rss-feeds/includes/admin/feedzy-rss-feeds-import.php on line 2170
    <strong>Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /home/lemagcin/www/wp/wp-content/plugins/amp/includes/embeds/class-amp-gallery-embed-handler.php:82 Stack trace: #0 /home/lemagcin/www/wp/wp-content/plugins/amp/includes/embeds/class-amp-gallery-embed-handler.php(40): AMP_Gallery_Embed_Handler->filter_post_gallery_markup('', '') #1 /home/lemagcin/www/wp/wp-includes/class-wp-hook.php(309): AMP_Gallery_Embed_Handler->generate_gallery_markup('', '') #2 /home/lemagcin/www/wp/wp-includes/plugin.php(189): WP_Hook->apply_filters('', Array) #3 /home/lemagcin/www/wp/wp-includes/media.php(2313): apply_filters('post_gallery', '', '', 1) #4 /home/lemagcin/www/wp/wp-includes/shortcodes.php(356): gallery_shortcode('', '', 'gallery') #5 [internal function]: do_shortcode_tag(Array) #6 /home/lemagcin/www/wp/wp-includes/shortcodes.php(228): preg_replace_callback('/\\[(\\[?)(galler...', 'do_shortcode_ta...', '[gallery]\n<p>Am...') #7 /home/lemagcin/www/wp/wp-includes/class-wp-hook.php(307): do_shortcode('[gallery]\n<p>Am...') #8 /home/lemagcin/www/wp/wp-includes/plugin.php(189): WP_Hook->apply_filters('[gallery]\n<p>Am...', Array) #9 /home/lemagcin/www/wp/wp-content/plugins/amp/includes/templates/class-amp-post-template.php(366): apply_filters('the_content', '[gallery]\r\n<p>A...') #10 /home/lemagcin/www/wp/wp-content/plugins/amp/includes/templates/class-amp-post-template.php(147): AMP_Post_Template->build_post_content() #11 /home/lemagcin/www/wp/wp-content/plugins/amp/includes/templates/class-amp-post-template.php(192): AMP_Post_Template->set_data() #12 /home/lemagcin/www/wp/wp-content/plugins/amp/templates/html-start.php(22): AMP_Post_Template->get('html_tag_attrib...') #13 /home/lemagcin/www/wp/wp-content/plugins/amp/includes/templates/class-amp-post-template.php(485): include('/home/lemagcin/...') #14 /home/lemagcin/www/wp/wp-content/plugins/amp/includes/templates/class-amp-post-template.php(238): AMP_Post_Template->verify_and_include('/home/lemagcin/...', 'html-start') #15 /home/lemagcin/www/wp/wp-content/plugins/amp/templates/single.php(21): AMP_Post_Template->load_parts(Array) #16 /home/lemagcin/www/wp/wp-content/plugins/amp/includes/templates/class-amp-post-template.php(485): include('/home/lemagcin/...') #17 /home/lemagcin/www/wp/wp-content/plugins/amp/includes/templates/class-amp-post-template.php(238): AMP_Post_Template->verify_and_include('/home/lemagcin/...', 'single') #18 /home/lemagcin/www/wp/wp-content/plugins/amp/includes/templates/class-amp-post-template.php(227): AMP_Post_Template->load_parts(Array) #19 /home/lemagcin/www/wp/wp-content/plugins/amp/includes/templates/reader-template-loader.php(36): AMP_Post_Template->load() #20 /home/lemagcin/www/wp/wp-includes/template-loader.php(106): include('/home/lemagcin/...') #21 /home/lemagcin/www/wp/wp-blog-header.php(19): require_once('/home/lemagcin/...') #22 /home/lemagcin/www/index.php(17): require('/home/lemagcin/...') #23 {main} thrown in /home/lemagcin/www/wp/wp-content/plugins/amp/includes/embeds/class-amp-gallery-embed-handler.php on line 82</strong>
    
    Deprecated: preg_grep(): Passing null to parameter #3 ($flags) of type int is deprecated in /home/lemagcin/www/wp/wp-content/plugins/wpsso/lib/com/util.php on line 1807
    
    Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/lemagcin/www/wp/wp-includes/rewrite.php on line 500
    
    Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /home/lemagcin/www/wp/wp-content/plugins/feedzy-rss-feeds/includes/admin/feedzy-rss-feeds-import.php on line 2170
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/lemagcin/www/wp/wp-content/plugins/better-wp-security/core/lib/class-itsec-lib-distributed-storage.php:545) in /home/lemagcin/www/wp/wp-content/plugins/cookie-notice/includes/frontend.php on line 68
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/lemagcin/www/wp/wp-content/plugins/better-wp-security/core/lib/class-itsec-lib-distributed-storage.php:545) in /home/lemagcin/www/wp/wp-content/plugins/cookie-notice/includes/frontend.php on line 69
    
    Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /home/lemagcin/www/wp/wp-content/plugins/feedzy-rss-feeds/includes/admin/feedzy-rss-feeds-import.php on line 2170
    
    Deprecated: substr(): Passing null to parameter #1 ($string) of type string is deprecated in /home/lemagcin/www/wp/wp-content/plugins/wp-asset-clean-up/classes/Misc.php on line 369
    
    Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /home/lemagcin/www/wp/wp-content/plugins/feedzy-rss-feeds/includes/admin/feedzy-rss-feeds-import.php on line 2170
    
    Deprecated: substr(): Passing null to parameter #1 ($string) of type string is deprecated in /home/lemagcin/www/wp/wp-content/plugins/wp-asset-clean-up/classes/Misc.php on line 369
    
    Deprecated: Return type of ITSEC_Lib_Distributed_Storage_Cursor::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/lemagcin/www/wp/wp-content/plugins/better-wp-security/core/lib/class-itsec-lib-distributed-storage.php on line 585
    
    Deprecated: Return type of ITSEC_Lib_Distributed_Storage_Cursor::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/lemagcin/www/wp/wp-content/plugins/better-wp-security/core/lib/class-itsec-lib-distributed-storage.php on line 606
    
    Deprecated: Return type of ITSEC_Lib_Distributed_Storage_Cursor::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/lemagcin/www/wp/wp-content/plugins/better-wp-security/core/lib/class-itsec-lib-distributed-storage.php on line 613
    
    Deprecated: Return type of ITSEC_Lib_Distributed_Storage_Cursor::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/lemagcin/www/wp/wp-content/plugins/better-wp-security/core/lib/class-itsec-lib-distributed-storage.php on line 620
    
    Deprecated: version_compare(): Passing null to parameter #2 ($version2) of type string is deprecated in /home/lemagcin/www/wp/wp-content/plugins/feedzy-rss-feeds/vendor/codeinwp/themeisle-sdk/load.php on line 31
    
    Deprecated: version_compare(): Passing null to parameter #2 ($version2) of type string is deprecated in /home/lemagcin/www/wp/wp-content/plugins/feedzy-rss-feeds/vendor/codeinwp/themeisle-sdk/load.php on line 36
    
    Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /home/lemagcin/www/wp/wp-content/plugins/polylang/include/class-polylang.php on line 98
    
    Deprecated: Automatic conversion of false to array is deprecated in /home/lemagcin/www/wp/wp-content/plugins/wp-rocket/inc/3rd-party/plugins/seo/yoast-seo.php on line 10
    
    Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /home/lemagcin/www/wp/wp-content/plugins/wp-smushit/core/modules/helpers/class-parser.php on line 229
    
    Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /home/lemagcin/www/wp/wp-content/plugins/wp-smushit/core/modules/helpers/class-parser.php on line 234
    
    Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /home/lemagcin/www/wp/wp-content/plugins/wp-rocket/inc/vendors/ip_in_range.php on line 136
    
    Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /home/lemagcin/www/wp/wp-content/plugins/wordpress-seo/src/conditionals/third-party/elementor-edit-conditional.php on line 22
    
    Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /home/lemagcin/www/wp/wp-content/plugins/wordpress-seo/src/conditionals/third-party/elementor-edit-conditional.php on line 28
    
    Deprecated: substr(): Passing null to parameter #1 ($string) of type string is deprecated in /home/lemagcin/www/wp/wp-content/plugins/wp-asset-clean-up/classes/Misc.php on line 369
    Thread Starter le.mag.cinema

    (@lemagcinema)

    Hi @fellyph any news on my case ?

    Thread Starter le.mag.cinema

    (@lemagcinema)

    here you are: ampwp-b8018750-8cdd-5a56-86a5-e5c760289882

    Thread Starter le.mag.cinema

    (@lemagcinema)

    I just installed 6.4.1 and I don’t have the critical error anymore

    I prefer not to install a version directly from github but instead wait for the 6.4.1 update. I do not need the 6.4.0 features for now.

    (+ I guess you are able to install quickly a mysql 8 and check by yourself !)

    quite same configuration for me: php 8.1 and mysql 8 … as for now, I wait for the 6.4.1 release to fix it before upgrading …

    After 6.4.0 installation I personnaly get a message on my administration interface of wordpress:
    You’ve got a critical error. Check your email administration address, or something like that … (but I did not receive any error, nor am I able to see any error on my error files )

    PS: I am on PHP 8.1

    Did you get the same behaviour ?

    I had to go back to 6.3.0 (6.4.0) definitely breaks my wordpress administration page.

    Thread Starter le.mag.cinema

    (@lemagcinema)

    and now it works … Tickets can be closed … (I do not understand why it works because I did the same yesterday). Thanks.

    Thread Starter le.mag.cinema

    (@lemagcinema)

    and now the plugin Yoast SEO: Search index purge plugin is desactivated

    • This reply was modified 5 years, 2 months ago by le.mag.cinema.
    Thread Starter le.mag.cinema

    (@lemagcinema)

    yes I confirm. Except that when the plugin is active it is written:
    These settings are being overridden by the Search Index Purge plugin.
    You are actively purging attachment URLs out of Google’s search index.

    but as i said initially, I set the redirect option to yes by default and I have desactivated the Yoast SEO: Search index purge plugin

    • This reply was modified 5 years, 2 months ago by le.mag.cinema.

    Is that working well ?
    I am currently looking for automating translation of articles from one site to another (without using wordpress multisite, several sites, several URLs, several host providers, several themes).
    I also use polylang and do not want to use their so expensive lingotech translation service, I would like to rely on deepl api, which seems as far as I know the most reliable service.
    The more automation, the better it is …

    My first conclusion is that today, we should use an import/export plugin, polylang on both sites, create the duplicated langage for each imported post, use your plugin to use deepl, and remove the original langage … Which remains a tedious process…

    any update ?

Viewing 15 replies - 1 through 15 (of 46 total)