• Resolved taniaap

    (@taniaap)


    Hello i’ve created a custom post only with body, title and custom fields, but no include fifu image metabox, and throw this error in js:

    meta-box.js?ver=4.0.5:43 Uncaught TypeError: Cannot read properties of undefined (reading ‘includes’)
    at meta-box.js?ver=4.0.5:43:138

    in this code:

    jQuery(document).ready(function() {
    setTimeout(function() {
    if (jQuery(“#fifu_input_url”).val() || jQuery(“#fifu_image”).css(‘background-image’).includes(‘http’)) {
    fifu_hide_regular_featured_image_field();
    }
    }, 100);
    });

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Marcel

    (@marceljm)

    Hi, @taniaap.

    Please access FIFU > Status. Copy and send me the data.

    Thread Starter taniaap

    (@taniaap)

    Hello Marcel, send you:

    Featured Image from URL (FIFU):4.0.5;
    WordPress:6.0.6;
    Site:https://mejoresparques.com;
    Theme:Fairy;
    PHP:7.4.33;
    WooCommerce:;
    Pages:22;
    Posts:1533;
    Products:;
    Images without dimensions:1919;
    URLs with metadata:2071;
    URLs:2072;
    php-curl:yes;
    Max lenght:2048;
    Plugins:

    • Advanced Category and Custom Taxonomy Image (advanced-category-and-custom-taxonomy-image)
    • Advanced Custom Fields (acf)
    • All-in-One WP Migration (all-in-one-wp-migration)
    • Blog2Social: Social Media Auto Post & Scheduler (blog2social)
    • Category Import Reloaded (category-import-reloaded)
    • Classic Editor (classic-editor)
    • Custom Hola User (hola_user)
    • Custom Post Type Maker (custom-post-type-maker)
    • DCO Comment Attachment (dco-comment-attachment)
    • Easy WP SMTP (easy-wp-smtp)
    • Elementor (elementor)
    • Elementor Pro (elementor-pro)
    • Featured Image from URL (FIFU) (featured-image-from-url)
    • Forminator (forminator)
    • GDPR Cookie Consent (cookie-law-info)
    • List Duplicate Posts By Title (list-duplicate-post-by-title)
    • PublishPress Future (post-expirator)
    • Rank Math SEO (rank-math)
    • Search & Filter (searchandfilter)
    • Shortcodes Ultimate (shortcodes-ultimate)
    • Simple Custom CSS and JS (custom-css-js)
    • Simple Custom Expand Notification (simple-custom-expand-notifications)
    • Simple custom import api events (simple-custom-import-api-event)
    • Simple Custom Masonry (simple-custom-masonry)
    • Simple Custom Slider (simple-custom-slider)
    • Simple Custom SWAL (sc-swal)
    • Site Kit by Google (google-site-kit)
    • UsersWP (userswp)
    • Visual Link Preview (visual-link-preview)
    • Widget Options (widget-options)
    • WP All Import (wp-all-import)
    • WP Front Post Tag (wp-front-post-tag)
    • WP Manage User Post (wp-manage-user-post)
    • WP Print Map Category Post (wp-print-map-category-post)
    • WP Show Post Admin Id (show_post_admin_id)
    • WP Term Images (wp-term-images)
    • Yoast SEO (wordpress-seo);
      Active plugins:
    • advanced-category-and-custom-taxonomy-image
    • advanced-custom-fields
    • all-in-one-wp-migration
    • blog2social
    • category-import-reloaded
    • classic-editor
    • cookie-law-info
    • custom-css-js
    • custom-post-type-maker
    • dco-comment-attachment
    • easy-wp-smtp
    • elementor-pro
    • elementor
    • featured-image-from-url
    • forminator
    • google-site-kit
    • hola_user
    • interactive-form
    • list-duplicate-post-by-title
    • post-expirator
    • sc-swal
    • search-filter
    • seo-by-rank-math
    • shortcodes-ultimate
    • show_post_admin_id
    • simple-custom-expand-notifications
    • simple-custom-import-api-event
    • simple-custom-masonry
    • simple-custom-slider
    • userswp
    • visual-link-preview
    • widget-options
    • wp-all-import
    • wp-front-post-tag
    • wp-manage-user-post
    • wp-print-map-category-post
    • wp-term-images;
      fifu_auto_alt:toggleon;
      fifu_cdn_content:toggleoff;
      fifu_cdn_crop:toggleoff;
      fifu_cdn_social:toggleoff;
      fifu_check:toggleoff;
      fifu_column_height:40;
      fifu_confirm_delete_all:toggleoff;
      fifu_confirm_delete_all_time:;
      fifu_content:toggleon;
      fifu_content_cpt:toggleoff;
      fifu_content_page:toggleoff;
      fifu_data_clean:toggleoff;
      fifu_decode:toggleoff;
      fifu_default_cpt:post,page,product;
      fifu_default_url:;
      fifu_dynamic_alt:toggleon;
      fifu_enable_default_url:toggleoff;
      fifu_fake:toggleon;
      fifu_get_first:toggleon;
      fifu_grid_category:toggleoff;
      fifu_hide_cpt:toggleon;
      fifu_hide_page:toggleoff;
      fifu_hide_post:toggleon;
      fifu_lazy:toggleoff;
      fifu_ovw_first:toggleon;
      fifu_photon:toggleoff;
      fifu_pop_first:toggleoff;
      fifu_query_strings:toggleoff;
      fifu_reset:toggleoff;
      fifu_run_delete_all:toggleoff;
      fifu_run_delete_all_time:;
      fifu_skip:;
      fifu_social:toggleon;
      fifu_social_image_only:toggleoff;
      fifu_spinner_db:1000;
      fifu_spinner_nth:1;
      fifu_wc_lbox:toggleon;
      fifu_wc_zoom:toggleon;
      Image:
      | https://mejoresparques.com/wp-content/uploads/2023/08/banner-mp-interaccion-1.png
      |_ https://mejoresparques.com/?post_type=scswalpopups&p=30946 | https://mejoresparques.com/wp-content/uploads/2023/08/banner-mp-interaccion-1.png |_ https://mejoresparques.com/?post_type=scswalpopups&p=30939
      | https://mejoresparques.com/wp-content/uploads/2023/11/tres-cantos-area-infantil-2.jpg
      |__ https://mejoresparques.com/?p=30904;
      Video:;
      Slider:;
      Shortcode:;
      REST routes:
    • https://mejoresparques.com/wp-json/:PHP;
    • https://mejoresparques.com/wp-json/:JS
    Plugin Author Marcel

    (@marceljm)

    Thanks.

    Please update the plugin and let me know if that solves the issue.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘jQuery(“#fifu_image”).css(‘background-image’).includes(‘http’) error’ is closed to new replies.