• rolfbly

    (@rolfbly)


    I’m upgrading to PHP 8.1 from 7.4, as required by my provider. In PHP 7.4, everything works fine (only warnings in the error log). Upgrading to PHP 8.0 has the same problem.

    This is the error I get, with the first line of the stack trace (there are 12 more):

    PHP Fatal error:  Uncaught Error: Attempt to modify property "admin_notices" on null in /home/public/sites/stage.adlibug.nl/wp-content/themes/onesocial/buddyboss-inc/buddyboss-framework/admin/ReduxCore/inc/class.redux_filesystem.php:29
    Stack trace:
    #0 /home/public/sites/stage.adlibug.nl/wp-content/themes/onesocial/buddyboss-inc/buddyboss-framework/admin/ReduxCore/inc/class.redux_filesystem.php(47): Redux_Filesystem->__construct()

    The error message is identical to what’s in this post, so I tried what was suggested there, to no avail.

    The first hint was to use a child theme. AFAIK, I am using a child theme, namely OneSocial Child Theme.

    Another suggestion was to commenting out the entire public function __construct() section in the file listed. As was to be expected, that leads to another fatal error:

    PHP Fatal error: Declaration of boss_Plugin_Upgrader_Skin::feedback($string) must be compatible with WP_Upgrader_Skin::

    The problem is that all blog posts disappear from the site. I put it back to PHP 7.4 for now. My provider forces upgrade 2 weeks from now. The link is to our staging site, the production site has the exact same problem, phenomena, errors and all.

    Please advise.

    • This topic was modified 2 years ago by rolfbly. Reason: changed wording

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author Ben Ritner – Kadence WP

    (@britner)

    Hi, I believe you need to talk with onesocial authors. This file path: onesocial/buddyboss-inc/ is not something in virtue or anything we would have insight about. This form is for the Virtue Theme.

    Ben

    Thread Starter rolfbly

    (@rolfbly)

    Hi, yes you’re right.
    I’m trying to contact them.
    The solutions above don’t work for me, unfortunately.

    Rolf

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP Fatal error Attempt to modify property “admin_notices”’ is closed to new replies.