• Resolved Jonathan Sulo

    (@jonathansulo)


    When we updated AAM from 5.2.7 to 5.3, bbPress broke. All new/active threads in bbPress lost the first/original post in the thread. The post was still there, in the database and when clicking “Edit” on the post but it wasn’t visible in any of the threads. Only the following replies were visible. We had to go back to 5.2.7 to solve this.

    Please advice and/or notify me when this has been resolved.

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

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author AAM Plugin

    (@vasyltech)

    Hi @jonathansulo,

    Thank you for the feedback. Currently it is hard to tell what possibly is the cause. So far you are the first one reporting this problem and also I was not able to replicate it on my development environment.

    The next step is to figure out what is different about your website setup. Can you please try to disable “Check Post Visibility” option on the AAM Settings Area?

    Keep me updated.

    Regards,
    Vasyl

    Thread Starter Jonathan Sulo

    (@jonathansulo)

    Hi @vasyltech and thanks for the swift reply! I installed 5.3, activated it (and deactivated 5.2.7) and disabled “Check Post Visibility”. Tried to create a thread in bbPress and got the following error message:

    Fatal error: Uncaught Error: Call to undefined method AAM_Core_Cache::clear() in /srv/users/serverpilot/apps/wordpress/public/wp-content/aam/extension/plus-package/PlusPackage.php:88 Stack trace: #0 /srv/users/serverpilot/apps/wordpress/public/wp-includes/class-wp-hook.php(288): AAM_PlusPackage->updatePostParent(35932, 0) #1 /srv/users/serverpilot/apps/wordpress/public/wp-includes/plugin.php(203): WP_Hook->apply_filters(35932, Array) #2 /srv/users/serverpilot/apps/wordpress/public/wp-includes/post.php(3354): apply_filters('wp_insert_post_...', 35932, 0, Array, Array) #3 /srv/users/serverpilot/apps/wordpress/public/wp-content/plugins/bbpress/includes/topics/functions.php(327): wp_insert_post(Array) #4 /srv/users/serverpilot/apps/wordpress/public/wp-includes/class-wp-hook.php(286): bbp_new_topic_handler('bbp-new-topic') #5 /srv/users/serverpilot/apps/wordpress/public/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #6 /srv/users/serverpilot/apps/wordpress/public/wp-includes/plugin.php(453): WP_Hook->d in /srv/users/serverpilot/apps/wordpress/public/wp-content/aam/extension/plus-package/PlusPackage.php on line 88

    We have a standard setup of LAMP, using Serverpilot on a VPS at DigitalOcean. We’re running the latest Apache with PHP 7.2 and MariaDB. Feel free to check our phpinfo here: https://slrk.se/phpinfo.php

    Plugin Author AAM Plugin

    (@vasyltech)

    @jonathansulo,

    Make sure you have updated Plus Package extension to the latest version 3.6. You should already see available update for this extension on the Extensions tab.

    However this is great feedback so I’m updating AAM to avoid this issue for others.

    Keep me updated.

    Regards,
    Vasyl

    Thread Starter Jonathan Sulo

    (@jonathansulo)

    I’m pretty sure we don’t have/use any Plus Package extension. I tried to deactivate this in the settings, but I keep getting the same error (listed above). Again, this all works with 5.2.7.

    Plugin Author AAM Plugin

    (@vasyltech)

    @jonathansulo,

    I’m pretty sure that is not completely correct Jonathan. Based on the error you’ve posted, you can clearly see that older version of Plus Package is trying to clear cache by calling deprecated and removed method in AAM 5.3 version.

    It is quite possible that one of your developers installed Plus Package before and if you are not using it, you can manually delete it from wp-content/aam/extension folder. The only reason, the extension deactivation did not work for you is if your Plus Package is at least 5 versions behind.

    Keep me updated. I really would like to know the possible cause of your problems with bbPress.

    Thank you,
    Vasyl

    Thread Starter Jonathan Sulo

    (@jonathansulo)

    You may be right about the Plus Package being used before, but I’ve checked the folder /advanced-access-manager/Application/Extension (and all other subfolders) and there aren’t any Plus Package files there. And I’ve deactivated the Plus Package in the Settings. Or I think so, since the button is green when the extension is deactivated and red when it’s activated (according to the text).

    5.3 is still not working though.

    Plugin Author AAM Plugin

    (@vasyltech)

    @jonathansulo,

    /advanced-access-manager/Application/Extension is not correct path. As mentioned earlier, all AAM extensions are located in wp-content/aam/extension folder (outside of the typical WordPress plugins folder).

    Keep me updated.

    Regards,
    Vasyl

    Thread Starter Jonathan Sulo

    (@jonathansulo)

    Oh, ok, found it. Deleted the wp-content/aam folder, updated to 5.3 and now it works. Thanks for the help, appreciate it!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘5.3 breaks bbPress threads’ is closed to new replies.