Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • I’m posting this in this thread because it might be related, but I’m going to start another thread under the title of the Data Tables function.

    I’m having the same issue with the Data Tables plugin (Pro version), when I try to populate with a remote CSV file. When I add the URL, the table updates to show the remote information, but when I try to Publish the page in Elementor, I get a Server Error 500. The page then appears stripped of all styles, and I have to restore a previous version of the page to even open it in Elementor again. This has happened repeatedly on different pages.

    Thread Starter claymeyer

    (@claymeyer)

    We were able to fix the issue by including a clear 10×10 png as the logo in the menu bar, with the link as “#”. In our design, we didn’t want a logo in the menu bar, and for some reason it was refreshing the page every time the hamburger icon was clicked.

    In trying to fix the issue, I initially set the Menu Logo Link to “#”, but since there wasn’t a logo, it didn’t affect the issue. On a whim, I decided to try uploading a png placeholder, and it solved the issue.

    After some investigation, I think I’ve isolated the issue to the theme’s “gallery-interface.php” functions file. It’s basically a set of overrides and additions to the default WP gallery shortcodes and shortcode options.

    It’s either something in this bit:

    unction om_gallery_settings_scripts($hook) {
    	if( 'post.php' != $hook && 'post-new.php' != $hook )
    		return;
    	global $post;
    	if( !isset($post->post_type) || ( 'page' != $post->post_type && 'post' != $post->post_type ) )
    		return;
    		
    	wp_enqueue_script('om-gallery-settings',TEMPLATE_DIR_URI.'/admin/js/om-gallery-settings.js', array( 'media-views' ), OM_THEME_VERSION	);
    }
    add_action('admin_enqueue_scripts', 'om_gallery_settings_scripts');

    OR this bit:

    $attachments=false;
    	if(isset($atts['ids']) && $atts['ids']) {
    		$attachments=explode(',',$atts['ids']);
    	}
    	if(empty($attachments)) {
    		global $post;
    		if(isset($post) && is_object($post))
    			$attachments=$post->ID;
    	} else {
    		$attachments = get_posts(array(
    			'post_type' => 'attachment',
    			'orderby' => (isset($atts['orderby']) && $atts['orderby'] == 'rand') ? 'rand' : 'post__in',
    			'post__in' => $attachments,
    			'post_mime_type' => 'image',
    			'post_status' => null,
    			'numberposts' => -1
    		));	
    	}
    
    	return '<div class="om-inline-gallery-wrapper">'.om_get_custom_gallery($attachments, $args).'</div>';

    that’s causing the issue. But I don’t know what to add or delete from this code to make it work. Any help would be appreciated!

    I am unable to get the [gallery attachment_category="1"] shortcode to work in my theme at all. It simply shows a blank page. My only option has been to insert a gallery and select the images by category manually, but that defeats the purpose of being to display items dynamically based on their category. I don’t want to have to delete and add items manually every time I add a photo to the gallery.

    I have this same issue – I would love to know the solution! I love this plugin, but this is the final piece to get it fully integrated into my client’s website.

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