Forum Replies Created

Viewing 15 replies - 1 through 15 (of 38 total)
  • Thread Starter Barry

    (@barrypersonalctonet)

    Your code did not work, but I tweaked it slightly and got it to work:

    if ( is_array( $selected_categories_unserialized ) ) 
    {
    if ( in_array( $category_id, $selected_categories_unserialized, true ) && $item_id !== $post->ID || in_array( 'all', $term_slug_array, true ) || count( $selected_categories_unserialized ) === 1 ) :
    ?>

    <li>
    <?php
    if ( $cnt <= ( $desings_to_show ) ) {
    ?>
    <div class="ywgc-preset-image" data-design-id="<?php echo $item_id; ?>" data-design-url="<?php echo esc_url( yith_get_attachment_image_url( intval( $item_id ), 'full' ) ); //phpcs:ignore --esc_url just scaped?>" >

    <?php echo wp_get_attachment_image( intval( $item_id ), apply_filters( 'yith_ywgc_preset_image_size', 'thumbnail' ) ); ?>
    </div>

    <?php
    }

    $cnt++;
    if ( $cnt === $desings_to_show ) {
    break;
    }

    ?>
    </li>
    <?php

    endif;
    }

    Barry

    (@barrypersonalctonet)

    Thanks. I am running Error Log Monitor Pro on all of the sites I host, and had been running WP-UserOnline until the fatal errors started happening. It is not clear from this whether the latest releases of the plugins are now compatible with each other.

    Could someone please confirm if this issue has been fixed in the latest released versions, and which versions of the plugins are needed to run without issue?

    Thanks,

    Barry

    Barry

    (@barrypersonalctonet)

    Ok, I have replicated this again on one of my staging sites. I updated your plugin to the latest version and the site crashed with this:

    Fatal error: Cannot declare class scbWidget, because the name is already in use in?/home/redacted/public_html/wp-content/plugins/wp-useronline/scb/Widget.php?on line?5

    Here is the environment for that site, with the actual site name taken out.

    ### wp-core ###

    version: 6.7.1
    site_language: en_US
    user_language: en_US
    timezone: America/New_York
    permalink: /%postname%/
    https_status: true
    multisite: false
    user_registration: 0
    blog_public: 0
    default_comment_status: open
    environment_type: production
    user_count: 6
    dotorg_communication: true

    ### wp-paths-sizes ###

    wordpress_path: /home/redacted/public_html
    wordpress_size: 259.72 MB (272331742 bytes)
    uploads_path: /home/redacted/public_html/wp-content/uploads
    uploads_size: 140.95 MB (147798253 bytes)
    themes_path: /home/redacted/public_html/wp-content/themes
    themes_size: 41.28 MB (43286602 bytes)
    plugins_path: /home/redacted/public_html/wp-content/plugins
    plugins_size: 241.14 MB (252850043 bytes)
    fonts_path: /home/redacted/public_html/wp-content/uploads/fonts
    fonts_size: directory not found
    database_size: 33.33 MB (34947072 bytes)
    total_size: 716.41 MB (751213712 bytes)

    ### wp-dropins (3) ###

    advanced-cache.php: true
    db.php: true
    object-cache.php: true

    ### wp-active-theme ###

    name: Redacted Hello Elementor Child (redacted_he)
    version: 1.0.0
    author: xxx
    author_website: xxx
    parent_theme: Hello Elementor (hello-elementor)
    theme_features: core-block-patterns, widgets-block-editor, block-templates, post-thumbnails, menus, automatic-feed-links, title-tag, html5, custom-logo, align-wide, responsive-embeds, editor-styles, editor-style, woocommerce, wc-product-gallery-zoom, wc-product-gallery-lightbox, wc-product-gallery-slider
    theme_path: /home/redacted/public_html/wp-content/themes/redacted_he
    auto_update: Disabled

    ### wp-parent-theme ###

    name: Hello Elementor (hello-elementor)
    version: 3.2.1
    author: Elementor Team
    author_website: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
    theme_path: /home/redacted/public_html/wp-content/themes/hello-elementor
    auto_update: Disabled

    ### wp-themes-inactive (6) ###

    Astra: version: 4.8.8, author: Brainstorm Force, Auto-updates disabled
    Redacted Lab: version: 0.1, author: xx, Auto-updates disabled
    Twenty Twenty-Five: version: 1.0, author: the WordPress team, Auto-updates disabled
    Twenty Twenty-Four: version: 1.3, author: the WordPress team, Auto-updates disabled
    Twenty Twenty-Three: version: 1.6, author: the WordPress team, Auto-updates disabled
    Twenty Twenty-Two: version: 1.9, author: the WordPress team, Auto-updates disabled

    ### wp-mu-plugins (1) ###

    InfiniteWP - Client Loader: version: 1.0.1, author: Revmakx

    ### wp-plugins-active (39) ###

    ACF Post-2-Post: version: 1.7.0, author: John A. Huebner II, Auto-updates disabled
    Activity Log: version: 2.11.2, author: Activity Log Team, Auto-updates disabled
    Admin Columns Pro: version: 6.4.13, author: AdminColumns.com, Auto-updates disabled
    Advanced Custom Fields PRO: version: 6.3.11, author: WP Engine, Auto-updates disabled
    Advanced Post Excerpt: version: 1.0.0, author: Steve Grunwell, Auto-updates disabled
    Autoptimize: version: 3.1.13, author: Frank Goossens (futtta), Auto-updates disabled
    Classic Editor: version: 1.6.7, author: WordPress Contributors, Auto-updates disabled
    Classic Widgets: version: 0.3, author: WordPress Contributors, Auto-updates disabled
    Custom Post Type UI: version: 1.17.2, author: WebDevStudios, Auto-updates disabled
    DynamicConditions: version: 1.7.4, author: RTO GmbH, Auto-updates disabled
    Ele Custom Skin: version: 3.1.9, author: Dudaster.com, Auto-updates disabled
    Elementor: version: 3.26.3, author: Elementor.com, Auto-updates disabled
    Elementor Pro: version: 3.26.2, author: Elementor.com, Auto-updates disabled
    Email Address Encoder ?: version: 0.3.11, author: Till Krüss, Auto-updates disabled
    Embedly: version: 4.9.2, author: Embed.ly Inc, Auto-updates disabled
    EmbedPress: version: 4.1.6, author: WPDeveloper, Auto-updates disabled
    Enable Media Replace: version: 4.1.5, author: ShortPixel, Auto-updates disabled
    Error Log Monitor: version: 1.7.10, author: Janis Elsts, Auto-updates disabled
    Essential Addons for Elementor: version: 6.0.15, author: WPDeveloper, Auto-updates disabled
    Essential Addons for Elementor - Pro: version: 6.0.11, author: WPDeveloper, Auto-updates disabled
    Font Awesome: version: 4.5.0, author: Font Awesome, Auto-updates disabled
    InfiniteWP - Client: version: 1.13.1, author: Revmakx, Auto-updates disabled
    Login Security Solution: version: 0.56.0, author: Daniel Convissor, Auto-updates disabled
    Post SMTP: version: 2.9.14, author: Post SMTP, Auto-updates disabled
    Post Types Order: version: 2.3.3, author: Nsp Code, Auto-updates disabled
    Query Monitor: version: 3.17.0, author: John Blackbourn, Auto-updates disabled
    Rank Math SEO: version: 1.0.234.1, author: Rank Math SEO, Auto-updates disabled
    Redis Object Cache: version: 2.5.4, author: Till Krüss, Auto-updates disabled
    Regenerate Thumbnails: version: 3.1.6, author: Alex Mills (Viper007Bond), Auto-updates disabled
    Rich Text Excerpts: version: 1.3.4, author: Peter Edwards <[email protected]>, Auto-updates disabled
    Redacted Logic: version: 0.01, author: xxx, Auto-updates disabled
    Server IP & Memory Usage Display: version: 2.1.0, author: Apasionados, Apasionados del Marketing, Auto-updates disabled
    Simple Page Ordering: version: 2.7.2, author: 10up, Auto-updates disabled
    Ultimate Addons for Elementor Lite: version: 2.0.5, author: Brainstorm Force, Auto-updates disabled
    Unlimited Elementor Inner Sections By BoomDevs: version: 1.0.7, author: WP Messiah, Auto-updates disabled
    User Role Editor: version: 4.64.4, author: Vladimir Garagulya, Auto-updates disabled
    WordPress Easy Menu Editor: version: 1.0.0, author: Exibio, Auto-updates disabled
    WP Last Login: version: 7, author: Konstantin Obenland, Auto-updates disabled
    WP Rocket: version: 3.17.3.1, author: WP Media, Auto-updates disabled

    ### wp-plugins-inactive (13) ###

    Akismet Anti-spam: Spam Protection: version: 5.3.5, author: Automattic - Anti-spam Team, Auto-updates disabled
    Antispam Bee: version: 2.11.7, author: pluginkollektiv, Auto-updates disabled
    Broken Link Checker: version: 9.11.21, author: WPMU DEV, Auto-updates disabled
    Disable Emojis (GDPR friendly): version: 1.7.6, author: Ryan Hellyer, Auto-updates disabled
    Error Log Monitor Pro: version: 1.8.4, author: Janis Elsts, Auto-updates disabled
    Perfect Images: version: 7.0.0, author: Jordy Meow, Auto-updates disabled
    Redirection: version: 5.5.1, author: John Godley, Auto-updates disabled
    Show Current Template: version: 0.5.2, author: JOTAKI Taisuke, Auto-updates disabled
    Widget Detector for Elementor: version: 1.2.9, author: ElementInvader & FreelancersTools (Ivica Deli?), Auto-updates disabled
    WP-UserOnline: version: 2.88.8, author: Lester 'GaMerZ' Chan, Auto-updates disabled
    WP Author Slug: version: 4, author: Konstantin Obenland, Auto-updates disabled
    WP Help: version: 1.7.5, author: Mark Jaquith, Auto-updates disabled
    WP Ultimate CSV Importer Pro: version: 7.3, author: Smackcoders, Auto-updates disabled

    ### wp-media ###

    image_editor: WP_Image_Editor_Imagick
    imagick_module_version: 1693
    imagemagick_version: ImageMagick 6.9.13-11 Q16 x86_64 18407 https://legacy.imagemagick.org
    imagick_version: 3.7.0
    file_uploads: 1
    post_max_size: 128M
    upload_max_filesize: 128M
    max_effective_size: 128 MB
    max_file_uploads: 20
    imagick_limits:
    imagick::RESOURCETYPE_AREA: 61 GB
    imagick::RESOURCETYPE_DISK: 9.2233720368548E+18
    imagick::RESOURCETYPE_FILE: 768
    imagick::RESOURCETYPE_MAP: 30 GB
    imagick::RESOURCETYPE_MEMORY: 15 GB
    imagick::RESOURCETYPE_THREAD: 1
    imagick::RESOURCETYPE_TIME: 0
    imagemagick_file_formats: 3FR, 3G2, 3GP, AAI, AI, APNG, ART, ARW, AVI, AVS, BGR, BGRA, BGRO, BIE, BMP, BMP2, BMP3, BRF, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CR3, CRW, CUR, CUT, DATA, DCM, DCR, DCX, DDS, DFONT, DNG, DOT, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, EXR, FAX, FILE, FITS, FLV, FRACTAL, FTP, FTS, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, GV, H, HALD, HDR, HISTOGRAM, HRZ, HTM, HTML, HTTP, HTTPS, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL, ISOBRL6, J2C, J2K, JBG, JBIG, JNG, JNX, JP2, JPC, JPE, JPEG, JPG, JPM, JPS, JPT, JSON, K25, KDC, LABEL, M2V, M4V, MAC, MAGICK, MAP, MASK, MAT, MATTE, MEF, MIFF, MKV, MNG, MONO, MOV, MP4, MPC, MPEG, MPG, MRW, MSL, MSVG, MTV, MVG, NEF, NRW, NULL, ORF, OTB, OTF, PAL, PALM, PAM, PANGO, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PGX, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, POCKETMOD, PPM, PREVIEW, PS, PS2, PS3, PSB, PSD, PTIF, PWP, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGBA, RGBO, RGF, RLA, RLE, RMF, RW2, SCR, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, STEGANO, SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIDEO, VIFF, VIPS, VST, WBMP, WEBM, WEBP, WMF, WMV, WMZ, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, YCbCr, YCbCrA, YUV
    gd_version: 2.3.3
    gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM
    ghostscript_version: 9.25

    ### wp-server ###

    server_architecture: Linux 3.10.0-1160.119.1.el7.x86_64 x86_64
    httpd_software: nginx/1.20.1
    php_version: 7.4.33 64bit
    php_sapi: fpm-fcgi
    max_input_variables: 1000
    time_limit: 1200
    memory_limit: 2048M
    max_input_time: 60
    upload_max_filesize: 128M
    php_post_max_size: 128M
    curl_version: 7.29.0 NSS/3.90
    suhosin: false
    imagick_availability: true
    pretty_permalinks: true
    htaccess_extra_rules: false
    current: 2024-12-26T13:47:58+00:00
    utc-time: Thursday, 26-Dec-24 13:47:58 UTC
    server-time: 2024-12-26T08:47:55-05:00

    ### wp-database ###

    extension: mysqli
    server_version: 8.0.36
    client_version: mysqlnd 7.4.33
    max_allowed_packet: 67108864
    max_connections: 151

    ### wp-constants ###

    WP_HOME: undefined
    WP_SITEURL: undefined
    WP_CONTENT_DIR: /home/redacted/public_html/wp-content
    WP_PLUGIN_DIR: /home/redacted/public_html/wp-content/plugins
    WP_MEMORY_LIMIT: 256M
    WP_MAX_MEMORY_LIMIT: 2048M
    WP_DEBUG: false
    WP_DEBUG_DISPLAY: false
    WP_DEBUG_LOG: false
    SCRIPT_DEBUG: false
    WP_CACHE: true
    CONCATENATE_SCRIPTS: undefined
    COMPRESS_SCRIPTS: undefined
    COMPRESS_CSS: undefined
    WP_ENVIRONMENT_TYPE: undefined
    WP_DEVELOPMENT_MODE: undefined
    DB_CHARSET: utf8
    DB_COLLATE: undefined

    ### wp-filesystem ###

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

    ### acf ###

    version: 6.3.11
    plugin_type: PRO
    update_source: ACF Direct
    activated: true
    activated_url: https://redacted
    license_type: Developer
    license_status: active
    subscription_expires: undefined
    ui_field_groups: 10
    php_field_groups: 0
    json_field_groups: 0
    rest_field_groups: 0
    post_types_enabled: true
    ui_post_types: 20
    json_post_types: 0
    ui_taxonomies: 10
    json_taxonomies: 0
    ui_options_pages_enabled: true
    ui_options_pages: 0
    json_options_pages: 0
    php_options_pages: 0
    rest_api_format: light
    registered_acf_blocks: 0
    blocks_per_api_version:
    blocks_per_acf_block_version:
    blocks_using_post_meta: 0
    preload_blocks: true
    admin_ui_enabled: true
    field_type-modal_enabled: true
    field_settings_tabs_enabled: false
    shortcode_enabled: true
    registered_acf_forms: 0
    json_save_paths: 1
    json_load_paths: 1

    `

    Hope that helps.

    Barry

    (@barrypersonalctonet)

    Any update on this? We are running into the same issue as soon as we add some javascript to the checkout page to toggle another field on the page, but only if the user is not logged in to the site. This is preventing us for taking the site live. If this works in the paid version, please let us know.

    Thanks.

    Thread Starter Barry

    (@barrypersonalctonet)

    Thanks. I finally noticed the log file location in the widget, probably at the same time you were typing your reply ??

    And the problem the hosting company had was that the log files were not findable in any of the usual places, but they were there in a directory related to php-fpm. Can I enter something in the wp-config now to point the log files to a more findable place (i.e. @ini_set(‘error_log’, ‘/home/site_name/public_html/wp-content/elm-error-logs/php-errors.log’);) even though the plugin is no longer suggesting that to me?

    Thanks.

    Thread Starter Barry

    (@barrypersonalctonet)

    As a follow up, I just tried deactivating and reactivating the plugin, hoping that would repeat the normal display of the configuration info to be entered into the wp-config, but it did not.

    And the hosting company support continues to disregard my inquiries about the reported error (they say that since they can’t see it in a log file it is a false positive and should be ignored), so I would really like to get the error logging back to normal so they will finally do something about the error.

    Thread Starter Barry

    (@barrypersonalctonet)

    This: https://fullcalendar.io/demos seems to show that it does, and my client also saw the same list view option on the site of another organization they coordinate with, so they wanted it on their site too.

    Thread Starter Barry

    (@barrypersonalctonet)

    This turned out to be a conflict with the Nginx Helper plugin. With that disabled, the colors are back to working again.

    Thread Starter Barry

    (@barrypersonalctonet)

    Quick correction – the table I am seeing the color values in is the _em_meta table, not _termmeta.

    Thread Starter Barry

    (@barrypersonalctonet)

    Ok, the newly installed second version of php-fpm had the default setting in https://www.conf that pointed to a log file:

    php_admin_value[error_log] = /var/opt/remi/php74/log/php-fpm/www-error.log

    I commented that out and added:

    php_admin_value[display_errors] = ‘stderr’

    and the individual log file configurations went back to working again.

    Sorry for any inconvenience, and thanks for your help.

    Barry

    Thread Starter Barry

    (@barrypersonalctonet)

    Ok thanks. I will compare the php-fpm configurations for the different instances and see if I can pin down what is going on.

    Thread Starter Barry

    (@barrypersonalctonet)

    Ok thanks. The immediate issue was in fact the directory ownership, which was set to apache instead of nginx. Once I changed it, ELM was able to access the global php-fpm log.

    Which is fine, but now ELM in every site on the server is showing the errors from the global php-fpm error log, instead of the site specific error logs that are configured for each in the nginx server blocks, and which are pointed to in the ELM settings I put in the wp-config for each site, and which reside in a different location than the global log. On the same server, the sites that are still using the original instance of php-fpm are correctly referencing the site specific logs that are defined.

    So how can I get ELM to respect the settings for the log files, and reference the site specific log files for the sites using php-fpm for the other version?

    Thanks,

    Barry

    Thread Starter Barry

    (@barrypersonalctonet)

    Yes, the plugin shows the correct name for the overall php-fpm log for 7.4, which exists, but is apparently not accessible. The second php-fpm process had defaulted to running as the apache user, but I changed that to nginx which is what the first php-fpm process runs as. I also changed the file permissions of the global log to 777 and restarted services, but that did not change anything.

    I just checked, and interestingly I saw that on a site on the server that I have configured to run PHP 8, which is the default PHP version, ELM is working fine. So something about the configuration for the secondary version of PHP is the issue.

    Open_basedir is not enabled here. SELinux is configured but is currently set to not enforce policies, and is not showing any alerts anyway.

    Barry

    Barry

    (@barrypersonalctonet)

    I have the same problem; when I test this, the referral coupon does not go out. I have Post SMTP installed, so I have an email log, and there is nothing in it.

    Barry

    Thread Starter Barry

    (@barrypersonalctonet)

    Could someone in the know answer this specific question:

    Does the WooCommerce plugin (which is based on TaxJar) determine tax based on the customer’s zip code, or does it do an API call using the customer’s specific address and the store location to determine what to charge?

    Thanks,

    Barry

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