• Resolved olimax

    (@olimax)


    Getting these errors on fresh install of 6.17.5

    WP 7.13.
    PHP 8.3
    WP default theme
    Turned off all non essential plugs
    Please advise

    Warning: include(/home/[SNIP]/user/htdocs/sid/wp-content/plugins/the-events-calendar/common/vendor/vendor-prefixed/composer/../stellarwp/installer/src/Installer/Button.php): Failed to open stream: No such file or directory in /home/[SNIP]/user/htdocs/sid/wp-content/plugins/the-events-calendar/common/vendor/vendor-prefixed/composer/ClassLoader.php on line 576

    Warning: include(/home/[SNIP]/user/htdocs/sid/wp-content/plugins/the-events-calendar/common/vendor/vendor-prefixed/composer/../stellarwp/installer/src/Installer/Button.php): Failed to open stream: No such file or directory in /home/[SNIP]/user/htdocs/sid/wp-content/plugins/the-events-calendar/common/vendor/vendor-prefixed/composer/ClassLoader.php on line 576

    Warning: include(): Failed opening '/home/[SNIP]/user/htdocs/sid/wp-content/plugins/the-events-calendar/common/vendor/vendor-prefixed/composer/../stellarwp/installer/src/Installer/Button.php' for inclusion (include_path='.:/usr/share/pear') in /home/[SNIP]/user/htdocs/sid/wp-content/plugins/the-events-calendar/common/vendor/vendor-prefixed/composer/ClassLoader.php on line 576

    Fatal error: Uncaught Error: Class "TEC\Common\StellarWP\Installer\Button" not found in /home/[SNIP]/user/htdocs/sid/wp-content/plugins/the-events-calendar/common/vendor/vendor-prefixed/stellarwp/installer/src/Installer/Handler/Plugin.php:184 Stack trace: #0 /home/[SNIP]/user/htdocs/sid/wp-content/plugins/the-events-calendar/common/vendor/vendor-prefixed/stellarwp/installer/src/Installer/Installer.php(347): TEC\Common\StellarWP\Installer\Handler\Plugin->get_button() #1 /home/[SNIP]/user/htdocs/sid/wp-content/plugins/the-events-calendar/src/admin-views/notices/install-event-tickets.php(36): TEC\Common\StellarWP\Installer\Installer->render_plugin_button('event-tickets', 'install', 'Install Event T...', 'https://asurrog...') #2 /home/[SNIP]/user/htdocs/sid/wp-content/plugins/the-events-calendar/common/src/Tribe/Template.php(1069): include('/home/linweb43/...') #3 /home/[SNIP]/user/htdocs/sid/wp-content/plugins/the-events-calendar/common/src/Tribe/Template.php(919): Tribe__Template->template_safe_include(NULL) #4 /home/[SNIP]/user/htdocs/sid/wp-content/plugins/the-events-calendar/src/Tribe/Admin/Notice/Install_Event_Tickets.php(269): Tribe__Template->template(Array, Array, false) #5 /home/[SNIP]/user/htdocs/sid/wp-content/plugins/the-events-calendar/common/src/Tribe/Admin/Notices.php(224): Tribe\Events\Admin\Notice\Install_Event_Tickets->notice_install(Object(stdClass)) #6 /home/[SNIP]/user/htdocs/sid/wp-includes/class-wp-hook.php(353): Tribe__Admin__Notices->__call('render_event-ti...', Array) #7 /home/[SNIP]/user/htdocs/sid/wp-includes/class-wp-hook.php(377): WP_Hook->apply_filters(false, Array) #8 /home/[SNIP]/user/htdocs/sid/wp-includes/plugin.php(523): WP_Hook->do_action(Array) #9 /home/[SNIP]/user/htdocs/sid/wp-admin/admin-header.php(313): do_action('admin_notices') #10 /home/[SNIP]/user/htdocs/sid/wp-admin/edit.php(411): require_once('/home/linweb43/...') #11 {main} thrown in /home/[SNIP]/user/htdocs/sid/wp-content/plugins/the-events-calendar/common/vendor/vendor-prefixed/stellarwp/installer/src/Installer/Handler/Plugin.php on line 184
Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter olimax

    (@olimax)

    Not sure why but it seems to have clamed down a bit. Now I just get this like x 3

    Warning: include(/home/linweb43/a/asurrogateband.com/user/htdocs/sid/wp-content/plugins/the-events-calendar/common/vendor/vendor-prefixed/composer/../stellarwp/installer/src/Installer/Button.php): Failed to open stream: No such file or directory in /home/linweb43/a/asurrogateband.com/user/htdocs/sid/wp-content/plugins/the-events-calendar/common/vendor/vendor-prefixed/composer/ClassLoader.php on line 576

    Plugin Support Darian

    (@d0153)

    Hi @olimax,

    Thanks for the details. The warning means one plugin file is missing from your server:

    the-events-calendar/common/vendor/vendor-prefixed/stellarwp/installer/src/Installer/Button.php

    I checked the official 6.17.5 package on WordPress.org, and that file is included. So either something went wrong during installation, or the file was removed afterwards. The Events Calendar only uses it to render an “Install” button, such as the one in the “Install Event Tickets” notice, which is why the error appears on some admin screens and not others.

    Could you try a clean reinstall?

    1. Take a backup first.
    2. Go to Plugins, deactivate The Events Calendar, and delete it. Your events and settings live in the database, so nothing will be lost.
    3. Go to Plugins → Add New, search for The Events Calendar, then install and activate it.
    4. Using your host’s File Manager or FTP, confirm that the Button.php file above now exists.

    If it goes missing again after a fresh install, your host’s security or malware scanner may be removing it. In that case, ask your host to check their quarantine logs for that file and restore it.

    Let me know how it goes.

    Thread Starter olimax

    (@olimax)

    Thank you so much for your prompt reply.
    That fixed it. I though it was something more complicated.
    Odd, I had done a clean install.
    Very much appreciated.

    Plugin Support Darian

    (@d0153)

    Hi @olimax,

    Thanks for the update, and I’m glad that’s sorted out!

    If you have a minute, we’d really appreciate a review. It helps other users find the plugin and know what to expect:

    https://wordpress.org/support/plugin/the-events-calendar/reviews/

    And if anything else comes up, just open a new thread and we’ll be happy to help.

    Thread Starter olimax

    (@olimax)

    Done
    I could not recommend this more highly.
    Very much appreciated. Keep up the good work
    Many thanks.

    Plugin Support Darian

    (@d0153)

    Hi @olimax

    Thank you so much for the wonderful review! I’ll go ahead and mark this thread as resolved.

    If anything else comes up, feel free to reach out anytime.

Viewing 6 replies - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.