- This topic has 8 replies, 2 voices, and was last updated 1 year, 8 months ago by
Tom.
-
AuthorPosts
-
October 7, 2020 at 3:37 pm #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
October 7, 2020 at 3:43 pm #1477522Tom
Lead DeveloperLead DeveloperHi 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?Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentOctober 7, 2020 at 3:53 pm #1477526Silko
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.
October 7, 2020 at 3:58 pm #1477530Tom
Lead DeveloperLead DeveloperThis should help: https://wordpress.org/support/article/debugging-in-wordpress/
Specifically,
WP_DEBUG
set totrue
, andWP_DEBUG_LOG
set totrue
.Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentOctober 7, 2020 at 4:00 pm #1477533Silko
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.
October 7, 2020 at 4:10 pm #1477540Silko
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.
October 7, 2020 at 5:16 pm #1477584Tom
Lead DeveloperLead DeveloperVery 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%.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentOctober 13, 2020 at 7:43 am #1486766Silko
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.
October 13, 2020 at 9:49 am #1487086Tom
Lead DeveloperLead DeveloperIt’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.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-development -
AuthorPosts
- You must be logged in to reply to this topic.