Forum Replies Created

Viewing 15 replies - 1 through 15 (of 33 total)
  • Hi @be_new ,

    Did you every figure out what the problem was? I have just experienced the same issue with a very similar error message. Any hints would be greatly appreciated. FYI, our site has recently moved to PHP version 8.3.28. I was running Duplicator in preparation to move from WP version 6.8 to 6.9 when I encountered the error.

    @dalemoore

    Hi Dale,

    First, there is a way to more or less “automatically” transfer images from a EWz webform into a gallery or at least into the medial library and then into the desired gallery. The appropriate EntryWizard instructions can be found by clicking the EntryWizard -> WebForms -> YourFormName -> Manage Items button. At the top of the Manage Items page there is a block that controls the “attachment” of images. The one thing that I do is keep the “Allow image to be attached more than once” option checked. This option seems to leave the images in the original EWz upload directory while making a copy of the file in the WP Media Libary. It might take you a little while to figure out the correct settings for your situation, but I can assure you that I have used this mechanism for years creating galleries for our camera club.

    Second, there is a mechanism for viewing and using the EXIF data that is embedded in uploaded images but you need an additional plugin to do so. I am currently using the free “Media Library Assistant” plugin. It is a somewhat complicated plugin which offers many more options and choices than I need but one of the benefits is that you can display an image’s EXIF and IPTC data in the Media Library (or elsewhere with a bit of code). Hope this helps.

    DT

    Thread Starter dwturner

    (@dwturner)

    Hi @aamahin,

    Thank you for your reply. I have uploaded the requested screenshot to Flickr, it can be found here: https://www.flickr.com/photos/203110347@N07/

    I am not sure if it is helpful but I have replicated the issue on my local development server with all other plugins deactivated (except WooCommerce). There seems to be a problem with the JavaScript that draws the map. Thank you for looking into this.

    Doug

    Thread Starter dwturner

    (@dwturner)

    Hi Again @aamahin,

    The event editing interactive map Google map issue was not resolved by the latest plugin update which is now version 4.4.9. Any suggestions for troubleshooting or approaches to resolving this issue would be appreciated. Thanks in advance.

    Doug

    Thread Starter dwturner

    (@dwturner)

    Hi @aamahin

    Thank you for the prompt plugin update. The update seems to have fixed the short code grid column formatting issue.

    Unfortunately, the interactive map facility in the Event editing screen remains missing in version 4.4.8.

    Just to clarify, any maps that were added to an event prior to the update remain visible on the single page event rendering. However, the tool for adding the maps in the JS event editor page is no longer functioning and as a result we cannot add any maps to any new event listings. Please let me know if there is something I should check that can assist in resolving this issue. Thanks in Advance.

    Doug

    • This reply was modified 6 months, 3 weeks ago by dwturner.
    Thread Starter dwturner

    (@dwturner)

    Hi @aamahin

    Kudos and thank you to the team at Magepeople for the quick resolution to this issue. Your help is appreciated.

    Thread Starter dwturner

    (@dwturner)

    Hi @aamahin,

    Thank you for your reply. A pro support request has been submitted as requested.

    Thread Starter dwturner

    (@dwturner)

    Hi MagePeopleTeam,

    This is just an update to let you know that after upgrading to Version 4.2.3 of your Event Manager plugin the problem with inactive submenus identified in the above thread remains unresolved.

    Any suggestions for resolving this issue would be greatly appreciated.

    DWTurner

    Thread Starter dwturner

    (@dwturner)

    Hi @aamahin

    I just thought I would pass along some additional information that I have about the problem of sub menus not working on the plugin single page event listing.

    • The site has been updated to Event Manager, ver 4.2.2 and the issue of the broken sub menus on single page event listings continues.
    • The plugin’s single page event listing html code for the navigation menu item is different then that generated by any other WP page. Here is the code from a regular page,
    <button data-wp-bind--aria-expanded="state.isMenuOpen" data-wp-on--click="actions.toggleMenuOnClick" aria-label="Club Events submenu" class="wp-block-navigation-item__content wp-block-navigation-submenu__toggle" aria-expanded="false"><span class="wp-block-navigation-item__label">Club Events</span></button>

    This is the corresponding html code that is generated by the plugin’s single page event listing templates:

    <button data-wp-bind--aria-expanded="state.isMenuOpen" data-wp-on--click="actions.toggleMenuOnClick" aria-label="Club Events submenu" class="wp-block-navigation-item__content wp-block-navigation-submenu__toggle"><span class="wp-block-navigation-item__label">Club Events</span></button>

    The only difference in the html code that the Event Manager plugin single page file does not appear to be adding the aria-expanded=”false” attribute.

    • The following two javascript files are loaded by a regular page and may to be necessary for the processing of the the data/click event. However the single page event listing rendered the Event Manager plugin does not appear to request them:
      • /wp-includes/js/dist/interactivity.min.js
      • wp-includes/blocks/navigation/view.min.js

    I hope this additional information is helpful in finding the cause and solution to this issue. Thanks again for any advice and suggestions.

    DWTurner

    Thread Starter dwturner

    (@dwturner)

    Hello @aamahin

    Thank you for your response. If you were looking at the home page you will not notice any issues because the home page is not generated by the Event Manager and Tickets Selling Plugin for WooCommerce – WpEvently – WordPress plugin.

    Here’s a screenshot of the homepage: https://imgur.com/a/ubdsSll as it normally shown.

    Here’s an example of what happens when someone clicks on one of the main nav bar items that has a sub menu: https://imgur.com/a/gdnsSKJ Please note that you have to click on a navigation bar item to show the sub menu.

    Finally here is a screenshot of an event listing as a single page: https://imgur.com/a/lNaJev1 The direct link to the page is https://hamiltoncameraclub.com/em4wc-event/2024-25-open-house/. As you should be able to discover, none of the navigation bar items with drop down sub menus do not seem to respond on this page. The drop-down sub menus are not functional on any single event page. However, if you navigate away from the single event listing page then the menu functionality returns to normal.

    This site is running on WP 6.5.5 with the Twenty-Twenty Three theme (using the full block editor to create pages etc.) on PHP 8.1.29 and version 4.2.0 of the Event Manager and Tickets Selling Plugin for WooCommerce – WpEvently – WordPress Plugin.

    There is also one plugin related error recorded in the error log but it does not seem to be related to the issue. Just in case it is relevant, the reported error is:

    Thanks again for any assistance you can provide.

    • This reply was modified 1 year, 7 months ago by dwturner. Reason: Correct spelling
    • This reply was modified 1 year, 7 months ago by dwturner. Reason: Provide additional information
    Thread Starter dwturner

    (@dwturner)

    Hi Again,

    I was just wondering if there were any suggestions or ideas about how I might resolve the problem of sub menus not functioning on a single event listing page. Thanks in advance.

    DWTurner

    @gcpt

    I had a similar issue last year. My EntryWizard solution is detailed in post #4 in support thread https://wordpress.org/support/topic/permissions-issue-30/. The execution order issue also appeared in the EWRatings plugin. It required a very similar fix which I detailed in post #5 in support thread https://wordpress.org/support/topic/rating-forms-will-not-display-large-images/. You can actually find both code revisions in the second suppor thread. Hope this helps.

    DWTurner

    Thread Starter dwturner

    (@dwturner)

    Hi Again,

    Please ignore question #1 – I have done some more exploring and found the Bulk Select button which does exactly what I was hoping to do. Thanks Again!

    Thread Starter dwturner

    (@dwturner)

    @ Bruce,

    Thank you for your prompt reply.

    Hi RonC & Josie

    In my case, it appears that the problem was caused by a change in the execution order of the wp_localize_script() in the plugin code relative to the firing of the wp_enqueue_scripts hook. Apparently, in a block editor version of WP, the wp_enqueue_script hook firing is delayed so “when you try to enqueue a script simply using its handle, the script is not found in the list of the registered scripts. And, in turn, wp_localize_script/wp_add_inline_script fail to find the handle to attach their data to.” – Thanks to @luigipulcini for the detective work.

    In EntryWizard, my solution was to edit \entrywizard\includes\ewz-upload.php to comment out line 90 and replace it with the following:

    90 //  wp_localize_script( "ewz-upload", "ewzG_$webform_id",  ewz_html_esc( $ewzG ));
    
    //*** To replace preceding line and move execution of the rendering of ewzG_ object to the footer hook
    
    $ewz_object = json_encode(ewz_html_esc($ewzG));
    
    $ewz_object_name = 'ewzG_'.$webform_id;
    
    add_action('wp_footer', function() use ($ewz_object_name, $ewz_object){
      printf('<script type="text/javascript">var %s = %s</script>', $ewz_object_name, $ewz_object);
    });
    
    //*** End of change
    

    The execution timing change also affected the EWZ-Ratings plugin which might be RonC’s issue. A largely similar change was also applied to \ewz-ratings\includes\ewz-rating-shortcode.php at line 286 (was commented out) using the following:

    286 // wp_localize_script( "ewz-rating", 'ewzG1_' . $atts['rf_num'], array( 'gvar' => $ewzG ));
    
    //*** To replace preceding line and move execution of the rendering of ewzG_ object to the footer hook
    
    $ewz_object = json_encode(array( 'gvar' => $ewzG ));
    
    $ewz_object_name = 'ewzG1_'.$atts['rf_num'];
    
    add_action('wp_footer', function() use ($ewz_object_name, $ewz_object){
      printf('', $ewz_object_name, $ewz_object);
    });
    
    //*** End of change
        

    @ronc, the code immediately above might be helpful but I am not certain about the applicability to the theme you are using.

    @joanne123, I am sure that there are better ways to implement this change but I was pressed for time and this is what I came up with.

    Hope this helps and thanks again for a great plugin. Also, just an FYI the code comments were useful – I could not have figured this out without them.

    DWTurner

    • This reply was modified 2 years, 4 months ago by dwturner.
    • This reply was modified 2 years, 4 months ago by dwturner.
Viewing 15 replies - 1 through 15 (of 33 total)