• Resolved Thomas Maier

    (@webzunft)


    Hi,

    after updating the plugin today, my multisite crashed and I had to disable the plugin. I was able to log the following error.

    PHP Fatal error: Uncaught TypeError: lloc\Msls\MslsOutput::get(): Argument #1 ($display) must be of type ?int, string given, called in /wp-content/plugins/multisite-language-switcher/includes/MslsOutput.php on line 135 and defined in /wp-content/plugins/multisite-language-switcher/includes/MslsOutput.php:34
    Stack trace: 0 /wp-content/plugins/multisite-language-switcher/includes/MslsOutput.php(135): lloc\Msls\MslsOutput->get()

    The plugin was running touched for years. I don’t know if I just updated the last or the two last versions at once.

    Thanks,
    Thomas

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Dennis Ploetner

    (@realloc)

    Do you use any filter of the MSLS plugin?

    Thread Starter Thomas Maier

    (@webzunft)

    Thanks for your feedback. I checked all places in which I usually put in custom code for something that I added years ago, but no filter for your plugin in use.

    Plugin Author Dennis Ploetner

    (@realloc)

    Are you able to save the plugin’s settings?

    Thread Starter Thomas Maier

    (@webzunft)

    I reenabled the plugin and saved the settings. The issue is gone now.

    Thanks,
    Thomas

    Plugin Author Dennis Ploetner

    (@realloc)

    Great to read that! Cheers

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

The topic ‘PHP Fatal Error: Uncaught TypeError: lloc\Msls\MslsOutput::get()’ is closed to new replies.