• Resolved napster2k19

    (@napster2k19)


    Hi,

    i get a Error Message when I want to use the Plugin with PHP8:
    Deprecated: Required parameter $args follows optional parameter $ics_calendar_classes in …/plugins/ics-calendar/class-r34ics.php on line 1169

    Can you help me with this?

    Thanks.

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

    (@room34)

    That should just be a warning with PHP’s display_errors turned on (which should not be turned on for production servers), right? Is it stopping the page from loading?

    I don’t think WordPress officially supports PHP 8 yet, and I haven’t tested the plugin very much with it yet. But this is something I’ll need to fix in the code — I wasn’t aware of this change in PHP 8. I should be able to address it in the next update.

    Thread Starter napster2k19

    (@napster2k19)

    Thanks for the fast answer.

    display_errors ist turned off, but the message still comes up. no, the page is loading completly. Anyway after I reload the Page, the message disappears.

    thank for the explanation

    Plugin Author room34

    (@room34)

    Strange… that type of error shouldn’t appear on the page if you have display_errors off. Do you have WP_DEBUG set to true in your wp-config.php file? Are you using Debug Bar or a similar plugin?

    It doesn’t show when you reload because of ICS Calendar’s internal caching. Anyway… I’m off to fix this issue!

    Plugin Author room34

    (@room34)

    OK, version 9.3.3 (available momentarily) should resolve this issue. Let me know if it does not, or if you notice any other issues. Thanks!

    Thread Starter napster2k19

    (@napster2k19)

    ok, for whatever reason wp_debug was actually set to true. that’s why the warning was displayed.

    but now after the update to 9.3.4 the warning is gone then too. Thanks again.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘PHP8 Deprecated’ is closed to new replies.