Site logo

[Support request] GeneratePress 3.0 conflict with H5P Plugin

Home Forums Support [Support request] GeneratePress 3.0 conflict with H5P Plugin

Home Forums Support GeneratePress 3.0 conflict with H5P Plugin

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1477514
    Silko

    Hello Guys,

    I want to report a conflict with the new version of the theme and this plugin: https://de.wordpress.org/plugins/h5p/

    The shortcodes from the H5P plugin do not work after the update. There is no output and only a blank white screen. After a rollback everything is working great again.

    Example: https://www.thailernen.net/lektion-1/#Memory_spielen (the memory game) Shortcodes look like this: [h5p id=”8″]

    After update to 3.0 the shortcodes do not work anymore.

    Best regards,

    Silko

    #1477522
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Where is the shortcode being used? In the content area?

    Do you have any recent errors in your error_log file on your server?

    #1477526
    Silko

    Hi Tom,

    unfortunately the hosting provide does not log php errors by default. I will try to figure out how to do it. Yes the shortcodes are used in the content area.

    #1477530
    Tom
    Lead Developer
    Lead Developer

    This should help: https://wordpress.org/support/article/debugging-in-wordpress/

    Specifically, WP_DEBUG set to true, and WP_DEBUG_LOG set to true.

    #1477533
    Silko

    Update: I used a code like this in the .htaccess:

    php_flag log_errors on
    php_value error_log “/www/htdocs/1234567/my.domain.net/logs/error.log”

    Made the update again, used a fresh browser and loaded several pages. No errors.

    #1477540
    Silko

    This should help: https://wordpress.org/support/article/debugging-in-wordpress/

    Specifically, WP_DEBUG set to true, and WP_DEBUG_LOG set to true.

    Same. No errors. Just no shortcode output.

    #1477584
    Tom
    Lead Developer
    Lead Developer

    Very strange – is there any way we can see the issue? Maybe on a staging site?

    Nothing content-related changed in the theme, the content itself is handled by WordPress 100%.

    #1486766
    Silko

    I made some tests. The problem is connected with the Autoptimize-Plugin. When I disable “Optimize JavaScript” than I get the shortcode output via the h5p-Plugin. But I still dont understand how this is connected with the new theme version.

    If you want to investigate this just please let me know.

    #1487086
    Tom
    Lead Developer
    Lead Developer

    It’s likely not connected with the theme, as the theme isn’t doing anything extreme with javascript (we don’t even load jQuery).

    It’s possible that the plugin requires jQuery and you’re this option: https://wpshowposts.com/support/topic/carousel-doesnn-show/#post-19200

    The same issue exists with our WPSP plugin shortcode.

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.