• Resolved Eric Sprangers

    (@esprange)


    Since the update to version 1.8 I do see the following notice in the error log:
    Trying to access array offset on value of type bool in …/wp-content/plugins/unique-headers/inc/class-custom-image-meta-box.php on line 142

    It doesn’t seem to break my website but maybe you can check if it can be fixed ?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Ryan Hellyer

    (@ryanhellyer)

    Are you still seeing this error created after updating to the latest version? I should have been fixed recently.

    Thread Starter Eric Sprangers

    (@esprange)

    Hi Ryan,

    yes, the notice about the array access on a bool var started after installing 1.8.
    I checked your code, seems that the error occurs if the custom image is missing.

    KR,
    Eric

    Plugin Author Ryan Hellyer

    (@ryanhellyer)

    Oh damn. I misread and thought you were referring to an error after upgrading WordPress, not the plugin. I’ll get it fixed. Sorry about this.

    Plugin Author Ryan Hellyer

    (@ryanhellyer)

    I haven’t managed to replicate the problem you describe, but I’ve added a variable check which should stop it now. Please let me know if you experience any more problems.

    Thread Starter Eric Sprangers

    (@esprange)

    Ryan,

    thanks ! You’re quick. I installed the 1.8.1 version and will check if the error no longer occurs. It is probably one of the pages that has that missing header image. The site has 140 pages so it is not that easy to figure out which one caused it.

    BR,
    Eric

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Notice in version 1.8’ is closed to new replies.