• Resolved jnorell

    (@jnorell)


    Hello,

    I’ve been using wpadverts for quite a while on a site and just tried to enable the Emails module for the first time, which resulted in a php error:

    Fatal error: Uncaught Error: Class 'Adext_Emails' not found in /srv/bindings/{randomid}/code/wp-content/plugins/wpadverts/addons/emails/includes/admin-module-options.php:6
    Stack trace:
    #0 /srv/bindings/{randomid}/code/wp-content/plugins/wpadverts/includes/admin-pages.php(271): include_once()
    #1 /srv/bindings/{randomid}/code/wp-includes/class-wp-hook.php(286): adverts_admin_page_extensions('')
    #2 /srv/bindings/{randomid}/code/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
    #3 /srv/bindings/{randomid}/code/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
    #4 /srv/bindings/{randomid}/code/wp-admin/admin.php(253): do_action('advert_page_adv...')
    #5 /srv/bindings/{randomid}/code/wp-admin/edit.php(10): require_once('/srv/bindings/d...')
    #6 {main} thrown in /srv/bindings/{randomid}/code/wp-content/plugins/wpadverts/addons/emails/includes/admin-module-options.php on line 6

    This site is hosted on pantheon with php 7.3, wp5.2.2, a custom theme and some plugins in use. I tried another hosting platform with php 7.3, wp5.2.2 and default theme with very few plugins and the Emails module did enable without error. Any idea how to track this one down?

    Thanks

    • This topic was modified 5 years, 8 months ago by jnorell.
    • This topic was modified 5 years, 8 months ago by jnorell.
    • This topic was modified 5 years, 8 months ago by jnorell.
    • This topic was modified 5 years, 8 months ago by jnorell.
    • This topic was modified 5 years, 8 months ago by jnorell.
Viewing 1 replies (of 1 total)
  • Thread Starter jnorell

    (@jnorell)

    Never mind on this, it seems to now be working, though I don’t know what was causing the issue.

    I changed to the default theme (with some difficulty, which is odd), and deactivated and reactived all plugins (except wpadverts) a few times, and cleared the server cache (varnish) a few times .. nothing seemed to behave with consistency; initially I couldn’t enable Emails with all plugins deactivating and using default theme … after a while of reactivating plugins, I couldn’t cause it to fail, then back to the original theme, and again, I can’t cause any failures.

    My guess is it was a hosting related issue, as the problem was in finding/loading the php class, but who knows.

    • This reply was modified 5 years, 8 months ago by jnorell.
Viewing 1 replies (of 1 total)
  • The topic ‘Fatal error: Uncaught Error: Class ‘Adext_Emails’ not found’ is closed to new replies.