• Hello since the last update i got some php notice on my logs like this :

    PHP Notice: Undefined offset: 1 in /home/clients/8c086848923de7743c25dac41736b5b3/web/wp-content/plugins/featured-image-from-url/includes/attachment.php on line 223

    PHP Notice: Undefined offset: 1 in /home/clients/8c086848923de7743c25dac41736b5b3/web/wp-content/plugins/featured-image-from-url/includes/attachment.php on line 224

    [21-Aug-2020 12:11:51 UTC] PHP Notice: Undefined offset: 1 in /home/clients/8c086848923de7743c25dac41736b5b3/web/wp-content/plugins/featured-image-from-url/includes/attachment.php on line 228

    Could you help ? Not sure it affect the view but …

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author fifu.app

    (@marceljm)

    Hi, @numero7.

    Thanks for reporting.

    Please access Settings > Help > Support > status. Click on that, copy and send me the data.

    Thread Starter numero7

    (@numero7)

    There you go :

    Featured Image from URL:3.2.7;
    WordPress:5.5;
    Site:https://compassion.ch;
    Theme:Compassion – Starter;
    PHP:7.4.9;
    WooCommerce:;
    Pages:169;
    Posts:327;
    Products:;
    Images without Dimensions:24768;
    URLs with Metadata:24768;
    URLs:268;
    php-curl:yes;
    Plugins:
    – 3r Elementor Timeline Widget (be-pack)
    – Advanced CF7 DB (advanced-cf7-db)
    – Advanced Cron Manager (advanced-cron-manager)
    – Autoptimize (autoptimize)
    – BackWPup (backwpup)
    – Classic Editor (classic-editor)
    – CMB2 (cmb2)
    – Compassion Child Import from Odoo (child-import-odoo)
    – Compassion Child Sponsor (child-sponsor)
    – Compassion Connector to Odoo V10 only (compassion-odoo)
    – Compassion Letters (compassion-letters)
    – Compassion Posts (compassion-posts)
    – Contact Form 7 (contact-form-7)
    – Duplicate Page (duplicate-page)
    – Easy FancyBox (easy-fancybox)
    – Elementor (elementor)
    – Elementor Pro (elementor-pro)
    – Featured Image from URL (featured-image-from-url)
    – GA Google Analytics (ga-google-analytics)
    – Google Tag Manager for WordPress (duracelltomi-google-tag-manager)
    – Honeypot for Contact Form 7 (contact-form-7-honeypot)
    – Insert childs (insert_childs)
    – JWT Authentication for WP-API (jwt-auth)
    – Loco Translate (loco-translate)
    – MCE Table Buttons (mce-table-buttons)
    – Official Facebook Pixel (official-facebook-pixel)
    – Page Builder by SiteOrigin (siteorigin-panels)
    – Popup Builder (popup-builder)
    – Postfinance paiement (cf7-pf_oli_klay)
    – Public Post Preview (public-post-preview)
    – Query Monitor (query-monitor)
    – Shortcake (Shortcode UI) (shortcode-ui)
    – SiteOrigin Widgets Bundle (so-widgets-bundle)
    – Widgets for SiteOrigin (wpinked-widgets)
    – WP-Optimize – Clean, Compress, Cache (wp-optimize)
    – WP Google Analytics Events (wp-google-analytics-events)
    – WP Mail SMTP (wp-mail-smtp)
    – WPML Media (wpml-media-translation)
    – WPML Multilingual CMS (sitepress-multilingual-cms)
    – WPML String Translation (wpml-string-translation)
    – WPML Translation Management (wpml-translation-management)
    – WP Pusher (wppusher)
    – WP Viral Quiz (Great Reboot) (wpvq)
    – Yoast SEO (wordpress-seo);
    Active Plugins:
    – query-monitor
    – 3r-elementor-timeline-widget
    – advanced-cf7-db
    – advanced-cron-manager
    – autoptimize
    – backwpup
    – cf7-pf_oli_klay
    – child-import-odoo
    – child-sponsor
    – classic-editor
    – cmb2
    – compassion-letters
    – compassion-odoo
    – compassion-posts
    – contact-form-7-honeypot
    – contact-form-7
    – duplicate-page
    – easy-fancybox
    – elementor-pro
    – elementor
    – featured-image-from-url
    – ga-google-analytics
    – insert_childs
    – jwt-authentication-for-wp-rest-api
    – loco-translate
    – mce-table-buttons
    – official-facebook-pixel
    – public-post-preview
    – shortcode-ui
    – siteorigin-panels
    – sitepress-multilingual-cms
    – so-widgets-bundle
    – widgets-for-siteorigin
    – wordpress-seo
    – wp-google-analytics-events
    – wp-mail-smtp
    – wp-optimize
    – wpml-media-translation
    – wpml-string-translation
    – wpml-translation-management
    – wppusher;
    fifu_auto_alt:toggleon;
    fifu_class:toggleoff;
    fifu_column_height:64;
    fifu_confirm_delete_all:toggleoff;
    fifu_confirm_delete_all_time:;
    fifu_content:toggleoff;
    fifu_content_page:toggleoff;
    fifu_css:toggleoff;
    fifu_data_clean:toggleoff;
    fifu_default_url:;
    fifu_dynamic_alt:toggleoff;
    fifu_enable_default_url:toggleoff;
    fifu_fake:toggleon;
    fifu_get_first:toggleoff;
    fifu_grid_category:toggleoff;
    fifu_hide_cpt:toggleoff;
    fifu_hide_page:toggleoff;
    fifu_hide_post:toggleoff;
    fifu_jquery:toggleoff;
    fifu_lazy:toggleoff;
    fifu_media_library:toggleoff;
    fifu_ovw_first:toggleoff;
    fifu_pop_first:toggleoff;
    fifu_query_strings:toggleoff;
    fifu_run_delete_all:toggleoff;
    fifu_run_delete_all_time:;
    fifu_social:toggleoff;
    fifu_social_image_only:toggleoff;
    fifu_spinner_db:100;
    fifu_spinner_nth:1;
    fifu_wc_lbox:toggleon;
    fifu_wc_zoom:toggleon;
    Image:
    | https://media.ci.org/g_face,c_thumb,w_320,h_420,z_0.6/v1571780853/ChildPhotos/Published/09031184_rbcqli.jpg
    |__ https://compassion.ch/children/ireen/
    | https://media.ci.org/g_face,c_thumb,w_320,h_420,z_0.6/v1571780853/ChildPhotos/Published/09031184_rbcqli.jpg
    |__ https://compassion.ch/children/ireen-2/
    | https://media.ci.org/g_face,c_thumb,w_320,h_420,z_0.6/v1571780853/ChildPhotos/Published/09031184_rbcqli.jpg
    |__ https://compassion.ch/children/ireen-3/;
    Video:;
    Slider:;
    Shortcode:;
    REST Routes:
    https://compassion.ch/wp-json/:PHP;
    https://compassion.ch/wp-json/:JS

    • This reply was modified 5 years, 9 months ago by numero7.
    Plugin Author fifu.app

    (@marceljm)

    Thanks.

    Let’s try something.

    1) open wp-content/plugins/featured-image-from-url/includes/attachment.php
    2) immediatelly after the line 222 add

            if (strpos($imgItem, 'style=') === false)
                continue;

    Let me know if that solves the notices. Then I can include that in the next version.

    • This reply was modified 5 years, 9 months ago by fifu.app.
    • This reply was modified 5 years, 9 months ago by fifu.app.
    Thread Starter numero7

    (@numero7)

    Hi yes it seems to work πŸ™‚ thanks

    Plugin Author fifu.app

    (@marceljm)

    Good job, @numero7!

    I’ve updated the code and the change will be available in the next version, 3.2.8.

    If all are working fine and you don’t have any other problems, please consider giving FIFU a nice review. Thanks!
    https://ww.wp.xz.cn/support/plugin/featured-image-from-url/reviews/

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘PHP notice since update’ is closed to new replies.