• Resolved wdejager

    (@wdejager)


    Hello,

    I am currently using the Content Aware Sidebars plugin on my WordPress website, and I have been experiencing issues when running it under PHP 8.x. My hosting provider helped me check the error logs, and I noticed several warnings originating from the plugin code, for example:

    PHP Warning: Undefined property: WP_Post_Type::$taxonomy in /wp-content/plugins/content-aware-sidebars/lib/wp-content-aware-engine/module/taxonomy.php on line 122
    PHP Warning: Undefined property: WP_Post_Type::$term_taxonomy_id in /wp-content/plugins/content-aware-sidebars/lib/wp-content-aware-engine/module/taxonomy.php on line 140
    PHP Warning: Attempt to read property “term_id” on null in /wp-content/plugins/content-aware-sidebars/lib/wp-content-aware-engine/module/taxonomy.php

    These warnings seem to be caused by the plugin trying to access taxonomy/term properties on a WP_Post_Type object. The result is that some actions in the WordPress admin (like saving permalinks or publishing new posts) fail with “The link you followed has expired.”

    At the moment, my hosting provider had to downgrade PHP to 7.4 in order to stop the errors, but as PHP 7.4 is no longer supported this is not a long-term solution.

    Could you please confirm whether PHP 8 compatibility fixes are planned for Content Aware Sidebars, or if there is a recommended workaround to prevent these warnings and errors?

    Thank you very much for your help and for maintaining this plugin.

Viewing 1 replies (of 1 total)
  • Plugin Author Joachim Jensen

    (@intoxstudio)

    Thank you for reporting this and for providing all the details! It has been resolved in the latest version.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.