• ResolvedModerator cubecolour

    (@numeeja)


    After updating to the latest version of Branda I was getting the following error message on every page – both in admin and on the front end:

    Warning: exif_imagetype(): stream does not support seeking in …public_html/wp-includes/functions.php on line 3263

    I was using the admin bar module to display a custom svg logo, and on investigation this module appears to be the cause.

    After deactivating the admin bar module the error message no longer appears.

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Saurabh – WPMU DEV Support

    (@wpmudev-support7)

    Hi @numeeja

    Hope you are doing fine!

    I have tested this plugin version on my lab test and was not able to reproduce the same behaviour. The warning seems to be?related to the file permissions of your WordPress website. I recommend you to reset the file permissions with the help of your hosting support to 644/755 for folders and see if it helps. This would be the first step in troubleshooting and will help to isolate the problem.

    Also, make sure WordPress and other plugins are also updated to the latest version. Preferably make sure you are using a recent PHP version, preferably 8.0 or above.

    Let know if you still have the same issue even after performing the recommended steps.

    Kind regards

    Luis

    Moderator cubecolour

    (@numeeja)

    Thank you for the reply Luis.

    WordPress and all plugins are at the latest versions. I have updated PHP to 8.0.28 for the site and set the permissions using filezilla however the issue remains when the admin bar module is active. I have disabled the admin bar module for now to prevent the error message from appearing.

    Moderator cubecolour

    (@numeeja)

    I have looked into this issue further as it is affecting several of the sites I manage. To investigate I set up a new site in local with the default theme and only added two plugins — ‘branda’, and ‘safe svg’ which I use to be able to upload svg images to the media library.

    Then I activated only the admin bar module of branda and set an svg image as the admin bar logo. On clicking ‘save changes’, the error message appeared.

    When the admin bar logo was already set to an SVG, and the ‘Safe SVG’ plugin was deactivated, the error message remained.

    Edit:

    On further investigation I have found that the issue appears to be related to this change:

    https://plugins.trac.www.ads-software.com/changeset/2873488/branda-white-labeling/trunk/inc/modules/admin/bar.php

    In Branda v3.4.9.3, when I edit line 628 of modules/admin/bar.php from

    if ( empty( $src ) || false === wp_getimagesize( $src ) ) {

    to

    if ( empty( $src ) ) {

    To reverse that change, the error message disappears and the svg logo displays in the admin bar.

    It is not a practical solution to edit this file on my sites as the change will be wiped out on each site whenever the plugin is updated. I have been able to work around the issue by using a .png image instead of the SVG image. In that case, even with Safe SVG active there is no error message.

    If a fix is possible it would be great to be able to use SVG images for the admin bar logo, as was possible with Branda up to version 3.4.8.1.

    • This reply was modified 1 year, 8 months ago by cubecolour.
    Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @numeeja

    Thank you for the update.

    In the latest version of Branda, we implemented some security fixes, as you know SVG and Safe SVG are great to prevent some issues, but out of the box WP wouldn’t support it, I can’t confirm it would be related but I was able to replicate this situation and will report to our developers.

    Best Regards
    Patrick Freitas

    Moderator cubecolour

    (@numeeja)

    Hi Patrick – Thank you.

    Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @numeeja

    Since we acknowledged the bug and reported it to our developers I will mark it as resolved for now, however, feel free to ping us any time you need.

    We don’t have an ETA for the fix but our team keep working on some improvements, I hope we can include it on any close release.

    Best Regards
    Patrick Freitas

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Error message when the admin bar module is used’ is closed to new replies.