Forum Replies Created

Viewing 15 replies - 1 through 15 (of 21 total)
  • If anyone else is still having this issue I found in my case this was from never enabling the global protection. I just enabled it and then disabled it again and it added the necessary key to the database and stopped throwing that error.

    Thread Starter jlongbrake

    (@jlongbrake)

    I have found where the conflict is. It is in the block.js files that add the gutenberg block. I was getting a console error from PDF Embedder that variables had already been declared. The first three lines of your /block/block.js (this is also in the .min file) file declares the following variables:

    const { registerBlockType } = wp.blocks;
    const { _ } = wp.i18n; // Import the _ function for localization
    const { createElement } = wp.element; // Destructuring for easier usage

    PDF Embedder uses the same variables when creating their element and cannot redeclare those variables after your plugin sets them so the block never gets registered properly. I’ve found that if I change your code to declare them as “var” everything works in both plugins.

    Thread Starter jlongbrake

    (@jlongbrake)

    I just updated and have the same issue. I have PDF embedder installed first. When I upgrade Weather atlas and go to the admin dashboard and check a post that already has a PDF embedder block saved I get a message that says “Your site doesn’t include support for the PDF Embedder block. You can try installing the block, convert it to a Custom HTML block, or remove it entirely.” If I try to readd the pdf embedder block it can no longer be found in the block list. It only comes back if I rollback Weather atlas to a version before 2.0.

    Thread Starter jlongbrake

    (@jlongbrake)

    Thanks for the suggestion! Unfortunately that still doesn’t fit my use case. However, the plugin solution has been working great! I was just hoping to find an easier way to manage the third party shortcode area. ??

    Thanks for all your help!

    Thread Starter jlongbrake

    (@jlongbrake)

    I’ve created my own plugin and got it working, but I have a follow-up question. When adding shortcodes to the “Third Party Shortcodes” area, I have to add a separate shortcode for each video I want to embed. Is there a way to do a wildcard so that I only have to put the shortcode once?

    Thread Starter jlongbrake

    (@jlongbrake)

    So I tried what you suggested with Embed Plus YouTube WordPress Plugin, but it is still not processing the shortcode, even with it added in the third party section. Any other advice?

    Thread Starter jlongbrake

    (@jlongbrake)

    Turns out I did get the shortcode (easy) one working, but the YouTube thing was a separate issue. I knew there would be more use cases that needed addressed which is why I wanted to suggest it to you. Thanks for taking a deeper look into it and I look forward to this future release ??

    Thread Starter jlongbrake

    (@jlongbrake)

    Thanks for looking into it and for your suggestions!

    Thread Starter jlongbrake

    (@jlongbrake)

    Yes, it is the CSS that is conflicting. I wasn’t asking you to correct that issue. I’ve already corrected the styling issue. I’m just saying that your plugin injects a div element on pages that have the password form. Pages without that form won’t have that extra div usually. Why would you not just leave the extra div off? It just creates a different layout to have to style. What is the purpose of the added div because it seems to work just fine for me when I remove it? Or why not add an option for people to choose if and how their content is wrapped? Just offering a suggestion.

    Thread Starter jlongbrake

    (@jlongbrake)

    Just realized my fix broke some things, like the YouTube embed block lol. Going for another option now. Would still be a nice feature to add to the plugin.

    Thread Starter jlongbrake

    (@jlongbrake)

    Yes, I was having this issue with Gutenberg blocks. I was having this issue on one server, but not my dev server for some reason. I even tried to make sure the environments were the same, but can’t figure out what’s different.

    It seems that sometimes enabling a second time would correct the issue, or adding another Gutenberg block would also fix it sometimes.

    I tried your pre-release version and it seems to have fixed whatever issue I was having. Thanks! ??

    I am having the same issue with this. Can we get a timeframe for a fix for this?

    Thread Starter jlongbrake

    (@jlongbrake)

    I’ve figured out a solution to this using a regular WordPress query. I found and modified some code from a plugin that does this for venues. Here is what I ended up with if it happens to help anyone in the future:

    global $wpdb;
    
    $args = array(
    	'post_type' => 'tribe_events',
    	'meta_query' => array(
    		'relation' => 'AND',
    		array(
    			'key' => '_EventStartDate',
    			'value' => $end_date->format('Y-m-d H:i'),
    			'compare' => '<'
    		),
    		array(
    			'key' => '_EventEndDate',
    			'value' => $start_date->format('Y-m-d H:i'),
    			'compare' => '>'
    		)
    	),
    	'tax_query' => array(
    		array(
    			'taxonomy'	=> 'tribe_events_cat',
    			'field'		=> 'slug',
    			'terms'		=> $room
    		)
    	)
    );
    			
    $events_on_date = get_posts($args);
    • This reply was modified 3 years, 4 months ago by jlongbrake.
    Thread Starter jlongbrake

    (@jlongbrake)

    So I think I found the problem, but it’s going to be very tedious to sort out. I did find some URLs in the uploads folder in the list I sent you, but it looks like the wrong folder ID is set in the database. I’m not sure how that happened, but the only way I can figure out how to fix it is to go through and manually fix them. I’ve already reset the database and tried to have it rescan again, but the error remains.

    Thread Starter jlongbrake

    (@jlongbrake)

    
    ### wp-core ###
    
    version: 5.7.2
    site_language: en_US
    user_language: en_US
    timezone: America/New_York
    permalink: /health-library/%postname%/
    https_status: true
    multisite: false
    user_registration: 0
    blog_public: 1
    default_comment_status: open
    environment_type: production
    user_count: 6
    dotorg_communication: true
    
    ### wp-paths-sizes ###
    
    wordpress_size: 43.93 MB (46066213 bytes)
    
    uploads_size: 136.53 KB (139807 bytes)
    
    themes_size: 1.56 MB (1636419 bytes)
    
    plugins_size: 124.68 MB (130737052 bytes)
    database_size: 318.56 MB (334039089 bytes)
    total_size: 488.87 MB (512618580 bytes)
    
    ### wp-active-theme ###
    
    name: Avita for WordPress (avita)
    version: 2.0
    author: Jesse Longbrake & Andrew O'Connor
    author_website: (undefined)
    parent_theme: none
    theme_features: core-block-patterns, menus, post-thumbnails, automatic-feed-links, widgets, editor-style
    
    auto_update: Disabled
    
    ### wp-mu-plugins (2) ###
    
    installatron_hide_status_test.php: author: (undefined), version: (undefined)
    p3-profiler.php: author: (undefined), version: (undefined)
    
    ### wp-plugins-active (32) ###
    
    ACF Content Analysis for Yoast SEO: version: 3.0.1, author: Thomas Kr?ftner, ViktorFroberg, marol87, pekz0r, angrycreative, Team Yoast, Auto-updates disabled
    Advanced Custom Fields: version: 5.9.5, author: Elliot Condon, Auto-updates disabled
    All In One WP Security: version: 4.4.8, author: Tips and Tricks HQ, Peter Petreski, Ruhul, Ivy, Auto-updates disabled
    Bullhorn-oscp: version: 3.2.2, author: Bullhorn, Auto-updates disabled
    Carousel Slider: version: 1.10.0, author: Sayful Islam, Auto-updates disabled
    Duplicator: version: 1.4.0, author: Snap Creek, Auto-updates disabled
    HTTP Headers: version: 1.18.5, author: Dimitar Ivanov, Auto-updates disabled
    Ivory Search: version: 4.6.2, author: Ivory Search, Auto-updates disabled
    Media Library Folders for WordPress: version: 6.1.3, author: Max Foundry, Auto-updates disabled
    NextGEN Gallery: version: 3.9.3, author: Imagely, Auto-updates disabled
    Ninja Forms: version: 3.5.4, author: Saturday Drive, Auto-updates disabled
    Ninja Forms - Conditional Logic: version: 3.1, author: The WP Ninjas, Auto-updates disabled
    Ninja Forms - File Uploads: version: 3.3.11, author: The WP Ninjas, Auto-updates disabled
    Ninja Forms - Layout & Styles: version: 3.0.29, author: The WP Ninjas, Auto-updates disabled
    Ninja Forms - Multi-Part Forms: version: 3.0.26, author: The WP Ninjas, Auto-updates disabled
    Ninja Forms - PayPal Express: version: 3.0.15, author: The WP Ninjas, Auto-updates disabled
    P3 (Plugin Performance Profiler): version: 1.5.4, author: GoDaddy.com, Auto-updates disabled
    Passster: version: 3.5, author: Patrick Posner, Auto-updates disabled
    plugin load filter: version: 4.0.6, author: enomoto@celtislab, Auto-updates disabled
    Popup Maker: version: 1.16.1, author: Popup Maker, Auto-updates disabled
    Public Post Preview: version: 2.9.3, author: Dominik Schilling, Auto-updates disabled
    Redirection: version: 5.1.1, author: John Godley, Auto-updates disabled
    Regenerate Thumbnails: version: 3.1.5, author: Alex Mills (Viper007Bond), Auto-updates disabled
    Revisionize: version: 2.3.4, author: Jamie Chong, Auto-updates disabled
    Simple Download Monitor: version: 3.9.1, author: Tips and Tricks HQ, Ruhul Amin, Josh Lobe, Auto-updates disabled
    Simple Staff List: version: 2.2.1, author: Brett Shumaker, Auto-updates disabled
    Smush: version: 3.8.4, author: WPMU DEV, Auto-updates disabled
    WP Crontrol: version: 1.10.0, author: John Blackbourn & crontributors, Auto-updates disabled
    WPFront Notification Bar: version: 1.9.1.04012, author: Syam Mohan, Auto-updates disabled
    Yoast SEO: version: 16.2, author: Team Yoast, Auto-updates disabled
    YOP Poll: version: 6.2.7, author: yourownprogrammer, Auto-updates disabled
    
    ### wp-plugins-inactive (1) ###
    
    Media Library Folders for WordPress Reset: version: 6.1.3, author: Max Foundry, Auto-updates disabled
    
    ### wp-media ###
    
    image_editor: WP_Image_Editor_Imagick
    imagick_module_version: 1802
    imagemagick_version: ImageMagick 7.0.10-10 Q16 x86_64 2020-07-22 https://imagemagick.org
    file_uploads: File uploads is turned off
    post_max_size: 128M
    upload_max_filesize: 256M
    max_effective_size: 128 MB
    max_file_uploads: 20
    imagick_limits: 
    	imagick::RESOURCETYPE_AREA: 8 GB
    	imagick::RESOURCETYPE_DISK: 9.2233720368548E+18
    	imagick::RESOURCETYPE_FILE: 12288
    	imagick::RESOURCETYPE_MAP: 8 GB
    	imagick::RESOURCETYPE_MEMORY: 4 GB
    	imagick::RESOURCETYPE_THREAD: 1
    gd_version: bundled (2.1.0 compatible)
    ghostscript_version: 8.70
    
    ### wp-server ###
    
    server_architecture: Linux 2.6.32-954.3.5.lve1.4.61.el6.x86_64 x86_64
    httpd_software: Apache
    php_version: 7.3.23 64bit
    php_sapi: litespeed
    max_input_variables: 1000
    time_limit: 300
    memory_limit: 512M
    max_input_time: 300
    upload_max_filesize: 256M
    php_post_max_size: 128M
    curl_version: 7.71.0 OpenSSL/1.1.1d
    suhosin: false
    imagick_availability: true
    pretty_permalinks: true
    htaccess_extra_rules: true
    
    ### wp-database ###
    
    extension: mysqli
    server_version: 5.6.49-cll-lve
    client_version: 5.6.49
    
    ### wp-constants ###
    
    WP_HOME: undefined
    WP_SITEURL: undefined
    WP_MEMORY_LIMIT: 40M
    WP_MAX_MEMORY_LIMIT: 512M
    WP_DEBUG: true
    WP_DEBUG_DISPLAY: true
    WP_DEBUG_LOG: false
    SCRIPT_DEBUG: false
    WP_CACHE: false
    CONCATENATE_SCRIPTS: undefined
    COMPRESS_SCRIPTS: undefined
    COMPRESS_CSS: undefined
    WP_LOCAL_DEV: undefined
    DB_CHARSET: utf8
    DB_COLLATE: undefined
    
    ### wp-filesystem ###
    
    wordpress: writable
    wp-content: writable
    uploads: writable
    plugins: writable
    themes: writable
    mu-plugins: writable
    
    
Viewing 15 replies - 1 through 15 (of 21 total)