Skip to content

Error str_starts_with() with static menu #521

@ogalbnafets

Description

@ogalbnafets
  • OctoberCMS Build: 3.3.6
  • RainLab Pages Plugin Version: 1.5.9
  • PHP Version: >8

Description:

I configured my menu in Static Pages and when accessing it again I get this error:
"str_starts_with(): Argument #1 ($haystack) must be of type string, array given" on line 58 of
/var/www/xxxxx/ocms/live/vendor/october/rain/src/Translation/Translator.php

I am using OFFLINE.Mall and Tailor Entries with Static Menu

Steps To Reproduce:

  • Creating new menu
  • Adding Entries from OFFLINE.Mall and Tailor (Stream/Structure)
  • Saving
  • Trying to edit again

I hope this is enough information - if you need further information contact me :)

Thanks :)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions