• Resolved streettb

    (@streettb)


    Hi, I’m getting the following PHP errors when I updated the plugin to the latest release (3.0.6). Do you have any advice/fixes?:

    An error of type E_ERROR was caused in line 12 of the file /nas/content/live/lopchurchstg/wp-content/plugins/post-expirator/src/Modules/Expirator/Models/CurrentUserModel.php. Error message: Uncaught Error: Class ‘PublishPress\Future\Framework\WordPress\Models\CurrentUserModel’ not found in /nas/content/live/lopchurchstg/wp-content/plugins/post-expirator/src/Modules/Expirator/Models/CurrentUserModel.php:12
    Stack trace:
    #0 /nas/content/live/lopchurchstg/wp-content/plugins/duplicate-post/vendor/composer/ClassLoader.php(571): include()
    #1 /nas/content/live/lopchurchstg/wp-content/plugins/duplicate-post/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile(‘/nas/content/li…’)
    #2 [internal function]: Composer\Autoload\ClassLoader->loadClass(‘PublishPressFut…’)
    #3 /nas/content/live/lopchurchstg/wp-content/plugins/post-expirator/services.php(349): spl_autoload_call(‘PublishPressFut…’)
    #4 /nas/content/live/lopchurchstg/wp-content/plugins/post-expirator/legacy/classes/Facade.class.php(426): {closure}()
    #5 /nas/content/live/lopchurchstg/wp-content/plugins/post-expirator/legacy/functions.php(482): PostExpirator_Facade->current_user_can_expire_posts()
    #6 /nas/content/live/lopchurchstg/wp-

    • This topic was modified 1 year, 4 months ago by streettb.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Riza Maulana Ardiyanto

    (@rizaardiyanto)

    Hi @streettb

    Thanks for using PublishPress Future.

    Did you see this in your error log? Or did it show somewhere on the wp-admin?

    Also, does the issue directly appear right after you update it? Or did you do something in order for the error to be shown?

    Lastly, did you use composer-based installation?

    I tested, and I did not get any error when updating to the latest version.

    Thread Starter streettb

    (@streettb)

    Thanks for the quick reply. Upon updating the plugin, I immediately received the “critical error” screen in the WordPress dashboard. This error intermittently appears when I refresh the dashboard. I didn’t change any settings to the plugin after updating. I’ve set my WordPress install to send me emails with more info, so what I copied originally in this thread is the error messages sent via email. Composer is not within this installation of WordPress.

    For what it’s worth, here’s more info about the WordPress installation:

    WordPress version 6.2.2
    PHP version 7.4.33.3
    Host: WPEngine

    If you need any other info, let me know.

    Plugin Author andergmartins

    (@andergmartins)

    Thanks for the information @streettb

    Please, could you try to replicate the bug using the beta package?

    https://www.dropbox.com/scl/fi/y6rsozzzeg3zea5hh3ifp/publishpress-future-3.1.0-beta.2.zip?rlkey=mwnsx7upu9caoixu5a6mao7tt&dl=0

    Please, could you let us know if that package fixes the issue?

    Thanks

    Thread Starter streettb

    (@streettb)

    I installed this a few days ago and I have been monitoring critical errors – so far, so good. I believe this patch fixes the error – thank you.

    Plugin Support Riza Maulana Ardiyanto

    (@rizaardiyanto)

    Thanks for confirming this @streettb

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘critical PHP error on release 3.0.6’ is closed to new replies.