• Resolved mjaschen

    (@mjaschen)


    Editorial Calendar uses dynamic class properties which is a feature that was deprecated with the release of PHP 8.2 in November 2022.

    Example for an error message regarding this issue:

    PHP Deprecated: Creation of dynamic property EdCal::$default_status is deprecated in /app/wp-content/plugins/editorial-calendar/edcal.php on line 84

    We’re using the latest update of Editorial Calendar.

Viewing 4 replies - 1 through 4 (of 4 total)
  • i also have this error with PHP 8.2

    i am using Version:3.8.5

    Plugin Author Mej de Castro

    (@mej)

    Hi leisegang?and mjaschen,

    We’re actively enhancing the plugin for compatibility with the latest PHP version. A forthcoming release is on the horizon with improved performance and user experience.

    Thank you,
    Mej

    A quick fix for this is to add a line at the top of class EdCal { which says:

    protected $default_status;

    You also need to change function edcal_json_encode($string) to say:

    if ( null != $string ) {
            return json_encode(str_replace("'", "’", $string));
    } else {
            return;
    }
    
    Plugin Author Mej de Castro

    (@mej)

    Hi Dear Users,

    We are pleased to announce the release of version 3.8.6 of the Editorial Calendar. This update includes important fixes for compatibility issues with PHP 8.2 and above. We recommend updating all your plugins to the latest versions.

    We appreciate your continued support and are committed to enhancing your experience. If you have any questions or need assistance, please don’t hesitate to reach out on our support threads.

    Best Regards,
    Mej, from the Editorial Calendar Team

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘PHP 8.2+: Use of Dynamic Properties is deprecated’ is closed to new replies.