• Resolved spdctrl

    (@spdctrl)


    Hi,

    I installed the light version with all the default settings. I went to add a new post (Gutenberg editor) and add the “GT3 Photo & Video Gallery – Grid” block. After I select a couple photos from the media library, I get the following error:

    Error loading block: <p> There has been a critical error on this website.</p>

    Thinking it might be a plugin incompatibility, I deactivated all plugins except GT3. Same error occurs.

    Thinking it might be some kind of theme incompatibility, I changed to the Twenty Twenty Three theme. Same error occurs.

    I believe I’m more or less on a base install of WordPress and I have this error. What am I doing wrong, please?

    WordPress 6.3.1

    GT3 2.7.7.18

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Alex

    (@ameximus)

    @spdctrl Hi there! Sorry for the delay in response. Can you please share PHP error logs for more information?

    Thread Starter spdctrl

    (@spdctrl)

    [12-Oct-2023 16:26:00 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function GT3\PhotoVideoGallery\imagecreatetruecolor() in /var/www/example.com/public_html/wp-content/plugins/gt3-photo-video-gallery/core/class-lazy-images.php:134
    Stack trace:
    #0 /var/www/example.com/public_html/wp-content/plugins/gt3-photo-video-gallery/core/class-lazy-images.php(120): GT3\PhotoVideoGallery\Lazy_Images::transparentImage()
    #1 /var/www/example.com/public_html/wp-content/plugins/gt3-photo-video-gallery/core/class-lazy-images.php(102): GT3\PhotoVideoGallery\Lazy_Images::get_placeholder_image()
    #2 /var/www/example.com/public_html/wp-includes/class-wp-hook.php(310): GT3\PhotoVideoGallery\Lazy_Images->process_image_attributes()
    #3 /var/www/example.com/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters()
    #4 /var/www/example.com/public_html/wp-includes/media.php(1127): apply_filters()
    #5 /var/www/example.com/public_html/wp-content/plugins/gt3-photo-video-gallery/core/block/traits/trait-get-attachment-image.php(26): wp_get_attachment_image()
    #6 /var/www/example.com/public_html/wp-content/plugins/gt3-photo-video-gallery/core/block/class-isotope-gallery.php(192): GT3\PhotoVideoGallery\Block\Basic->wp_get_attachment_image()
    #7 /var/www/example.com/public_html/wp-content/plugins/gt3-photo-video-gallery/core/block/class-grid.php(121): GT3\PhotoVideoGallery\Block\Isotope_Gallery->renderItem()
    #8 /var/www/example.com/public_html/wp-content/plugins/gt3-photo-video-gallery/core/block/class-basic.php(383): GT3\PhotoVideoGallery\Block\Grid->render()
    #9 /var/www/example.com/public_html/wp-content/plugins/gt3-photo-video-gallery/core/block/class-basic.php(90): GT3\PhotoVideoGallery\Block\Basic->render_block()
    #10 /var/www/example.com/public_html/wp-includes/rest-api/class-wp-rest-server.php(1188): GT3\PhotoVideoGallery\Block\Basic->restHandler()
    #11 /var/www/example.com/public_html/wp-includes/rest-api/class-wp-rest-server.php(1035): WP_REST_Server->respond_to_request()
    #12 /var/www/example.com/public_html/wp-includes/rest-api/class-wp-rest-server.php(447): WP_REST_Server->dispatch()
    #13 /var/www/example.com/public_html/wp-includes/rest-api.php(418): WP_REST_Server->serve_request()
    #14 /var/www/example.com/public_html/wp-includes/class-wp-hook.php(310): rest_api_loaded()
    #15 /var/www/example.com/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
    #16 /var/www/example.com/public_html/wp-includes/plugin.php(565): WP_Hook->do_action()
    #17 /var/www/example.com/public_html/wp-includes/class-wp.php(398): do_action_ref_array()
    #18 /var/www/example.com/public_html/wp-includes/class-wp.php(779): WP->parse_request()
    #19 /var/www/example.com/public_html/wp-includes/functions.php(1335): WP->main()
    #20 /var/www/example.com/public_html/wp-blog-header.php(16): wp()
    #21 /var/www/example.com/public_html/index.php(17): require('...')
    #22 {main}
      thrown in /var/www/example.com/public_html/wp-content/plugins/gt3-photo-video-gallery/core/class-lazy-images.php on line 134
    
    Thread Starter spdctrl

    (@spdctrl)

    Thanks, Alex. Obviously, I changed my domain name in the error log to ‘example.com’.

    Plugin Support Alex

    (@ameximus)

    @spdctrl Hmm, very strange. I’m going to forward this log to our developers. Will keep you posted. Can you also let me know which PHP version you use? Thanks and sorry for the inconvenience.

    Plugin Support Alex

    (@ameximus)

    Our devs recommend to enable PHP GD Library extension. It looks like it’s either missing or disabled.

    Thread Starter spdctrl

    (@spdctrl)

    Yes, that worked, thanks very much, Alex!

    Plugin Support Alex

    (@ameximus)

    Glad to hear it. Thanks for choosing our product.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Error loading block’ is closed to new replies.