• Resolved mesmer7

    (@mesmer7)


    My development environment is limited to PHP 7.08. The Asset Cleanup Overview displays about 50 copies of the following error:

    Notice: Trying to get property of non-object in /Users/dja1701/Local Sites/wordpress/wp-content/plugins/wp-asset-clean-up/classes/Overview.php on line 852

    My live site is running PHP 8.1, and I don’t see any errors there.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Gabe Livan

    (@gabelivan)

    @mesmer7 this error related to the fact that the post that the plugin is attempting to retrieve information from, does not exist anymore. Asset CleanUp attempts to retrieve the “post_title” which is not within the $postData variable. This error should not show anymore because in the latest version of Asset CleanUp, a verification is done and if the post is null, then the plugin will not process “post_title” and “post_type” objects.

    This happened because you applied a rule to a post/page (e.g. an article or a dummy page for test) and then that post got deleted from the database. I hope it helps!

    Thread Starter mesmer7

    (@mesmer7)

    Nope, that’s not the problem. I’m definitely trying to retrieve data for an existing post. And the upgrade did not fix the problem.

    Although…. when I installed rank math last Dec, I did change the URL structure of my product pages. Is it possible that Rank Math’s redirects are contributing to the problem?

    Thread Starter mesmer7

    (@mesmer7)

    oops, wrong thread. Please ignore my previous message.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Errors with PHP 7.08’ is closed to new replies.