• Resolved Innoxius

    (@innoxius)


    Yesterday I manually updated WP to version 7.0.4-ro_RO. The plugin was automatically updated (I don’t know when) to version 3.4.0. Until today everything worked normally. Starting today I get the error message in the admin:
    Simple Lightbox Fslight: rest_additional_properties_forbidden: $schema is not a valid property of Object.
    If I deactivate the plugin, the message disappears. When it is activated, the only problem with the site is that the lightbox effect no longer appears

Viewing 4 replies - 1 through 4 (of 4 total)
  • I’m experiencing exactly the same issue with WordPress 7.1 and Simple Lightbox FSLight 3.4.0. The lightbox effect no longer works, and I get this error:

    Simple Lightbox Fslight: rest_additional_properties_forbidden: $schema is not a valid property of Object.

    I found the cause of the issue. In plugin-settings.json, the following line causes the error in WordPress 7.1:

    "$schema": "./settings/settings-schema.json",

    After removing this line, the error disappears and the lightbox works normally again.

    The $schema entry is still present in settings-schema.json.

    It looks like plugin-settings.json should not contain $schema because it is being validated with rest_validate_value_from_schema() and additionalProperties is set to false.

    Thread Starter Innoxius

    (@innoxius)

    Congratulations on finding the solution. It’s too late for me though. I just installed another plugin this morning.

    Plugin Author Martin von Berg

    (@martinvonberg)

    Bug was solved with version 3.5.0. Please update. Sorry for the inconvenience.

Viewing 4 replies - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.