• Resolved mark3344100

    (@mark3344100)


    Hi!

    I am developing a dictionary site, and I found the Compact WP Audio Player plugin, which does exactly what I need. Thank you for making it available!

    For every word in the dictionary there is a sound file, .wav in this case, and all sound files live in a subfolder in the theme folder. On every single-word page, I generate the correct shortcode for playing the matching sound file, and this worked brilliantly.

    This is an example of a generated shortcode: [sc_embed_player fileurl=”https://jangga-dev2.local/wp-content/themes/jangga-theme/sounds/balban.wav”%5D This would play the balban.wav file, on the balban page.

    Update: The shortcode that I pasted in, and see when I am editing, ends with a closing square bracket, but after posting it on the forum it shows %5D.

    It worked like a dream, but now, it throws an error: Fatal error: Possible integer overflow in memory allocation (2 * 639 + 32) in C:\Users\mv\Local Sites\jangga-dev2\app\public\wp-includes\shortcodes.php on line 273

    On that line in shortcodes.php it says:   $content = preg_replace_callback( “/$pattern/”, ‘do_shortcode_tag’, $content );

    As you see, I run it at Local by Flywheel, the site is not life yet. That was not a problem before.

    Is this caused by the update, or is there another reason? I do not know where to start looking, please help!

    /Mark

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor mbrsolution

    (@mbrsolution)

    Thank you for reaching out to us.

    It worked like a dream, but now, it throws an error:

    Are you saying that it use to work in your site with our plugin but now it doesn’t. If this is correct, what changed in your site to cause this error?

    Also, have you tried an mp3 file format uploaded to your sites media library instead of your themes directory?

    Kind regards.

    Thread Starter mark3344100

    (@mark3344100)

    Thank you for your answer.

    I tried mp3 and ogg, no change.

    I have a custom theme, so not using the media folder. All the files there are distributed in month folders, in year folders, so it is difficult to find the right file path.

    But, I found what was causing the problem. When I tested changing https into http, it works as before. A few months ago I changed everything to SSL, but obviously some values are still the old way.

    I can make a dirty conversion by stripping the ‘s’ out of https on the spot, but I would rather find out how to make it work as it should. Puzzling also that it only became a problem months after the conversion.

    Is there a problem using the plugin under SSL? Any insights or help in pointing me in the right direction would be appreciated! Even just knowing what to search for!

    Kind regards, Mark

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Is there a problem using the plugin under SSL?

    No, there is no issue with SSL certificates. Some configuration in your site is causing this issue. You might like to try the following plugin or one similar.

    https://www.ads-software.com/plugins/really-simple-ssl/

    Kind regards.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Problems since update’ is closed to new replies.