10up / distributor

Share content between your websites.
https://distributorplugin.com
GNU General Public License v2.0
637 stars 156 forks source link

Featured image not distributed/pushed after update #1134

Open chutzinger opened 1 year ago

chutzinger commented 1 year ago

Describe the bug

Hey,

after the update, it seems the featured image is not distributed anymore. Instead, the image used in content is used as featured image. The original featured image is also not in the media library of the second site.

Example: post created at: https://venedig-magazin.com/2023/09/07/eintritt-nach-venedig-ab-fruehjahr-2024-geplant/

and pushed to: https://triest-magazin.com/eintritt-nach-venedig-ab-fruehjahr-2024-geplant/

Could you please have a look at this issue?

Kind regards, Chris

Steps to Reproduce

  1. Create post with featured image
  2. Distribute post to another site
  3. Check if the featured image appears

Screenshots, screen recording, code snippet

No response

Environment information

No response

WordPress information

`

wp-core

version: 6.3.1 site_language: de_DE user_language: de_DE timezone: Europe/Berlin permalink: /%year%/%monthnum%/%day%/%postname%/ https_status: true multisite: false user_registration: 0 blog_public: 1 default_comment_status: open environment_type: production user_count: 8 dotorg_communication: true

wp-paths-sizes

wordpress_path: /www/htdocs/w0154cdb/venedig-magazin.com wordpress_size: 206,64 MB (216677507 bytes) uploads_path: /www/htdocs/w0154cdb/venedig-magazin.com/wp-content/uploads uploads_size: 883,08 MB (925980764 bytes) themes_path: /www/htdocs/w0154cdb/venedig-magazin.com/wp-content/themes themes_size: 16,04 MB (16823404 bytes) plugins_path: /www/htdocs/w0154cdb/venedig-magazin.com/wp-content/plugins plugins_size: 139,03 MB (145778928 bytes) database_size: 63,51 MB (66597670 bytes) total_size: 1,28 GB (1371858273 bytes)

wp-dropins (1)

advanced-cache.php: true

wp-active-theme

name: GeneratePress (generatepress) version: 3.3.1 author: Tom Usborne author_website: https://tomusborne.com parent_theme: none theme_features: core-block-patterns, widgets-block-editor, automatic-feed-links, post-thumbnails, post-formats, woocommerce, title-tag, html5, customize-selective-refresh-widgets, align-wide, responsive-embeds, editor-color-palette, custom-logo, menus, editor-styles, editor-style, widgets theme_path: /www/htdocs/w0154cdb/venedig-magazin.com/wp-content/themes/generatepress auto_update: Deaktiviert

wp-themes-inactive (3)

HitMag: version: 1.3.6, author: ThemezHut, Automatische Aktualisierungen deaktiviert Twenty Twenty-Three: version: 1.2, author: Das WordPress-Team, Automatische Aktualisierungen deaktiviert Twenty Twenty-Two: version: 1.4, author: Das WordPress-Team, Automatische Aktualisierungen deaktiviert

wp-plugins-active (24)

Ads.txt Manager: version: 1.4.3, author: 10up, Automatische Aktualisierungen deaktiviert Advanced Ads: version: 1.46.0, author: Advanced Ads GmbH, Automatische Aktualisierungen deaktiviert Antispam Bee: version: 2.11.3, author: pluginkollektiv, Automatische Aktualisierungen deaktiviert Booking.com Product Helper: version: 1.0.4, author: Booking.com, Automatische Aktualisierungen deaktiviert Code Snippets: version: 3.4.2, author: Code Snippets Pro, Automatische Aktualisierungen deaktiviert Distributor: version: 2.0.0, author: 10up Inc., Automatische Aktualisierungen deaktiviert EWWW Image Optimizer: version: 7.2.0, author: Exactly WWW, Automatische Aktualisierungen deaktiviert GenerateBlocks: version: 1.8.2, author: Tom Usborne, Automatische Aktualisierungen deaktiviert GenerateBlocks Pro: version: 1.6.0, author: Tom Usborne, Automatische Aktualisierungen deaktiviert GP Premium: version: 2.3.2, author: Tom Usborne, Automatische Aktualisierungen deaktiviert Limit Login Attempts Reloaded: version: 2.25.25, author: Limit Login Attempts Reloaded, Automatische Aktualisierungen deaktiviert MainWP Child: version: 4.5.1, author: MainWP, Automatische Aktualisierungen deaktiviert PostX - Gutenberg Post Grid Blocks: version: 3.0.9, author: wpxpo, Automatische Aktualisierungen deaktiviert PostX Pro - Gutenberg Post Blocks: version: 1.5.4, author: wpxpo, Automatische Aktualisierungen deaktiviert Real Cookie Banner: version: 3.11.2, author: devowl.io, Automatische Aktualisierungen deaktiviert Site Kit by Google: version: 1.108.0, author: Google, Automatische Aktualisierungen aktiviert Spreadshop: version: 1.6.6, author: Robert Schulz (sprd.net AG), Automatische Aktualisierungen deaktiviert SVG Support: version: 2.5.5, author: Benbodhi, Automatische Aktualisierungen deaktiviert Table of Contents Plus: version: 2302, author: Michael Tran, Automatische Aktualisierungen deaktiviert UpdraftPlus - Backup/Restore: version: 1.23.10, author: UpdraftPlus.Com, DavidAnderson, Automatische Aktualisierungen deaktiviert WP Mail SMTP: version: 3.9.0, author: WP Mail SMTP, Automatische Aktualisierungen deaktiviert WP Rocket: version: 3.14.4.2, author: WP Media, Automatische Aktualisierungen deaktiviert WPS Hide Login: version: 1.9.9, author: WPServeur, NicolasKulka, wpformation, Automatische Aktualisierungen deaktiviert Yoast SEO: version: 21.1, author: Team Yoast, Automatische Aktualisierungen deaktiviert

wp-plugins-inactive (2)

ShortPixel Image Optimizer: version: 5.4.1, author: ShortPixel - Convert WebP/AVIF & Optimize Images, Automatische Aktualisierungen deaktiviert Speed Booster Pack: version: 4.5.6, author: Optimocha, Automatische Aktualisierungen deaktiviert

code-snippets (4)

snippet-6: name: Preload Images, scope: front-end, modified: 2022-01-22 18:42:41 snippet-7: name: Preload Fonts, scope: front-end, modified: 2022-01-22 18:43:24 snippet-9: name: Tickets Badge, scope: global, modified: 2022-04-22 19:01:53 snippet-10: name: GetYourGuide Analytics, scope: front-end, modified: 2023-04-21 16:45:46

wp-media

image_editor: EWWWIO_Imagick_Editor imagick_module_version: 1690 imagemagick_version: ImageMagick 6.9.10-23 Q16 x86_64 20190101 https://imagemagick.org imagick_version: 3.7.0 file_uploads: File uploads is turned off post_max_size: 200M upload_max_filesize: 200M max_effective_size: 200 MB max_file_uploads: 20 gd_version: 2.2.5 gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM ghostscript_version: 9.50

wp-server

server_architecture: Linux 5.4.0-159-generic x86_64 httpd_software: Apache php_version: 8.1.22 64bit php_sapi: fpm-fcgi max_input_variables: 3000 time_limit: 30 memory_limit: 256M max_input_time: 60 upload_max_filesize: 200M php_post_max_size: 200M curl_version: 7.68.0 OpenSSL/1.1.1f suhosin: false imagick_availability: true pretty_permalinks: true htaccess_extra_rules: true current: 2023-09-07T11:02:45+00:00 utc-time: Thursday, 07-Sep-23 11:02:45 UTC server-time: 2023-09-07T13:02:43+02:00

wp-database

extension: mysqli server_version: 10.5.22-MariaDB-1:10.5.22+maria~ubu2004-log client_version: mysqlnd 8.1.22 max_allowed_packet: 67108864 max_connections: 500

wp-constants

WP_HOME: undefined WP_SITEURL: undefined WP_CONTENT_DIR: /www/htdocs/w0154cdb/venedig-magazin.com/wp-content WP_PLUGIN_DIR: /www/htdocs/w0154cdb/venedig-magazin.com/wp-content/plugins WP_MEMORY_LIMIT: 256M WP_MAX_MEMORY_LIMIT: 256M WP_DEBUG: false WP_DEBUG_DISPLAY: true WP_DEBUG_LOG: false SCRIPT_DEBUG: false WP_CACHE: true CONCATENATE_SCRIPTS: undefined COMPRESS_SCRIPTS: undefined COMPRESS_CSS: undefined WP_ENVIRONMENT_TYPE: Nicht definiert WP_DEVELOPMENT_MODE: undefined DB_CHARSET: utf8 DB_COLLATE: undefined

wp-filesystem

wordpress: writable wp-content: writable uploads: writable plugins: writable themes: writable mu-plugins: writable

google-site-kit

version: 1.108.0 php_version: 8.1.22 wp_version: 6.3.1 reference_url: https://venedig-magazin.com amp_mode: no site_status: connected-site user_status: not authenticated verification_status: not-verified connected_user_count: 1 active_modules: site-verification, search-console, adsense, analytics, analytics-4 recoverable_modules: none required_scopes: openid: ⭕ https://www.googleapis.com/auth/userinfo.profile: ⭕ https://www.googleapis.com/auth/userinfo.email: ⭕ https://www.googleapis.com/auth/siteverification: ⭕ https://www.googleapis.com/auth/webmasters: ⭕ https://www.googleapis.com/auth/adsense.readonly: ⭕ https://www.googleapis.com/auth/analytics.readonly: ⭕ https://www.googleapis.com/auth/tagmanager.readonly: ⭕ capabilities: googlesitekit_authenticate: ✅ googlesitekit_setup: ✅ googlesitekit_view_posts_insights: ⭕ googlesitekit_view_dashboard: ⭕ googlesitekit_manage_options: ⭕ googlesitekit_update_plugins: ⭕ googlesitekit_view_splash: ✅ googlesitekit_view_authenticated_dashboard: ⭕ googlesitekit_view_wp_dashboard_widget: ⭕ googlesitekit_view_admin_bar_menu: ⭕ googlesitekit_view_shared_dashboard: ⭕ googlesitekit_read_shared_module_data::["search-console"]: ⭕ googlesitekit_read_shared_module_data::["adsense"]: ⭕ googlesitekit_read_shared_module_data::["analytics"]: ⭕ googlesitekit_manage_module_sharing_options::["search-console"]: ⭕ googlesitekit_manage_module_sharing_options::["adsense"]: ⭕ googlesitekit_manage_module_sharing_options::["analytics"]: ⭕ googlesitekit_delegate_module_sharing_management::["search-console"]: ⭕ googlesitekit_delegate_module_sharing_management::["adsense"]: ⭕ googlesitekit_delegate_module_sharing_management::["analytics"]: ⭕ enabled_features: adBlockerDetection: ✅ adsenseSetupV2: ✅ dashboardSharing: ✅ ga4Reporting: ✅ gm3Components: ⭕ userInput: ⭕ search-console_shared_roles: none search-console_management: owner adsense_shared_roles: none adsense_management: owner analytics_shared_roles: none analytics_management: owner search_console_property: https://venedig-magazin.com/ adsense_account_id: pub-126••••••••••••• adsense_client_id: ca-pub-126••••••••••••• adsense_account_status: approved adsense_site_status: added adsense_use_snippet: yes adsense_web_stories_adunit_id: none adsense_setup_completed_timestamp: Not available adsense_abr_use_snippet: no adsense_abr_use_error_protection_snippet: no adsense_abr_setup_status: undefined analytics_dashboard_view: universal-analytics analytics_account_id: 1903••••• analytics_property_id: UA-1903••••••• analytics_profile_id: 2378••••• analytics_use_snippet: yes analytics_4_property_id: none analytics_4_web_data_stream_id: none analytics_4_measurement_id: none analytics_4_use_snippet: yes

wp_mail_smtp

version: 3.9.0 license_key_type: lite debug: Keine Debug-Hinweise gefunden. lite_install_date: Sep 4, 2020 @ 8:57am

distributor

0: 2.0.0 1: Yes 2: info@christianhutzinger.at 3: Override Author Byline: Yes Media Handling: Featured image and attached images 4: N/A 5: Triest-Magazin.com:

`

Code of Conduct

jeffpaul commented 1 year ago

@peterwilsoncc as you try and replicate this to see how we can resolve, you might consider #310 and whether the two are related and could be resolved together in a 2.0.1 release perhaps?

peterwilsoncc commented 1 year ago

I'm taking a look at this now:

Various items to consider:

peterwilsoncc commented 1 year ago

@chutzinger Thanks for the report.

Unfortunately I've not had any success reproducing the issue in which the inline image is set as the featured image. I've tried a variety of configurations and methods of sharing the data without success.

Are you seeing this bug on other Distributed content?

chutzinger commented 1 year ago

@peterwilsoncc Thanks for looking into this.

This was the only post since the distributor update, i will check as soon as there is a new one.

What i can tell is, that this post was distributed to more sites with the same issue:

https://jesolo-magazin.com/eintritt-nach-venedig-ab-fruehjahr-2024-geplant/ https://adria-magazin.com/eintritt-nach-venedig-ab-fruehjahr-2024-geplant/ https://caorle-magazin.com/eintritt-nach-venedig-ab-fruehjahr-2024-geplant/

Maybe other plugins affect the distribution, i don't know the WP Actions/Hooks system that well.

For example

Don't know if this makes sense.

jeffpaul commented 1 year ago

Moving this to the 2.1.0 milestone as we've not yet been able to replicate the issue

isuke01 commented 11 months ago

I'm facing similar issue with distributor 2.0.1. Seems to be picking the newest image from distributed page. But interestingly only on live not on stage. I'll try to debug it and let know more if I find out more. EDIT: Ok seems to fix the issue I just had to run Upgrade network after plugin update. Before it was just using last image from library and duplicate it.