• Hello, i’m using last wordpress and astra theme version.

    Unfortunatly, if I upgrade my php version from 7.4 to 8.0 i got this error message on my post pages :

    Warning: Attempt to read property “post_type” on int in /home/clients/c2122e1746cad9168816bfddd6bc4000/web/wp-content/plugins/publishpress-authors/src/core/Classes/Legacy/Util.php on line 41
    class=”ast-related-post post-8010 post type-post status-publish format-standard has-post-thumbnail hentry category-la-cooperative tag-polar”>

    Warning: Attempt to read property “post_type” on int in /home/clients/c2122e1746cad9168816bfddd6bc4000/web/wp-content/plugins/publishpress-authors/src/core/Classes/Legacy/Util.php on line 41

    As i’d like to upgrade my php version for security issues, do you know how to fix it ?

    Thank you and best Regards !

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Riza Maulana Ardiyanto

    (@rizaardiyanto)

    Hi @swanzack

    Thanks for using PublishPress Authors.

    Could you please inform me what PublishPress Author version you are using?

    Thread Starter Le Renard Pourpre

    (@swanzack)

    Hello, i’m using up to date version (4.2.1 at this day) but i’m closing myself this ticket as i found a way to disable this error message by adding the two following lines to de wp-config :

    ini_set('display_errors','Off');
    ini_set('error_reporting', E_ALL );
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘php8 issue’ is closed to new replies.