• Hi there,
    I have WP 6.7.1 setup on my website, and I managed to install this WP Genealogy plugin successfully:
    https://photos.app.goo.gl/NfPP1fGfrgie14Vd7

    When trying to activate the plugin, I get a fatal error – “Plugin could not be activated because it triggered a fatal error” as shown below:
    https://photos.app.goo.gl/9HqBxZAGY9QR8bwF6

    Is anyone able to advise me how to resolve this fatal error, or troubleshoot this error properly? I don’t have much experience with WP; any help is appreciated!

    Regards,

    unskathd

    • This topic was modified 1 month, 2 weeks ago by unskathd. Reason: Images didn't work, used links instead
    • This topic was modified 1 month, 2 weeks ago by unskathd.
    • This topic was modified 1 month, 2 weeks ago by unskathd. Reason: fixed typo
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter unskathd

    (@unskathd)

    I think I have found the error message by chance:

    [08-Feb-2025 06:41:30 UTC] PHP Fatal error Uncaught TypeError: Carbon\Carbon::setLastErrors(): Argument #1 ($lastErrors) must be of type array, bool given, called in /home/mysites/public_html/mydomain/wp-content/plugins/wpgenealogy/vendor/nesbot/carbon/src/Carbon/Traits/Creator.php on line 96 and defined in /home/mysites/public_html/mydomain/wp-content/plugins/wpgenealogy/vendor/nesbot/carbon/src/Carbon/Traits/Creator.php:895

    Stack trace: 0 /home/mysites/public_html/mydomain/wp-content/plugins/wpgenealogy/vendor/nesbot/carbon/src/Carbon/Traits/Creator.php(96): Carbon\Carbon::setLastErrors() 1 /home/mysites/public_html/mydomain/wp-content/plugins/wpgenealogy/vendor/nesbot/carbon/src/Carbon/Traits/Creator.php(250): Carbon\Carbon->__construct() 2 /home/mysites/public_html/mydomain/wp-content/plugins/wpgenealogy/vendor/illuminate/support/DateFactory.php(217): Carbon\Carbon::now() 3 /home/mysites/public_html/mydomain/wp-content/plugins/wpgenealogy/vendor/illuminate/support/Facades/Facade.php(261): Illuminate\Support\DateFactory->__call() 4 /home/mysites/public_html/mydomain/wp-content/plugins/wpgenealogy/vendor/illuminate/database/Eloquent/Concerns/HasTimestamps.php(87): Illuminate\Support\Facades\Facade::__callStatic() 5 /home/mysites/public_html/mydomain/wp-content/plugins/wpgenealogy/vendor/illuminate/database/Eloquent/Concerns/HasTimestamps.php(39): Illuminate\Database\Eloquent\Model->freshTimestamp() 6 /home/mysites/public_html/mydomain/wp-content/plugins/wpgenealogy/vendor/illuminate/database/Eloquent/Model.php(796): Illuminate\Database\Eloquent\Model->updateTimestamps() 7 /home/mysites/public_html/mydomain/wp-content/plugins/wpgenealogy/vendor/illuminate/database/Eloquent/Model.php(668): Illuminate\Database\Eloquent\Model->performInsert() 8 /home/mysites/public_html/mydomain/wp-content/plugins/wpgenealogy/includes/class-wpgenealogy-activator.php(169): Illuminate\Database\Eloquent\Model->save() 9 /home/mysites/public_html/mydomain/wp-content/plugins/wpgenealogy/includes/class-wpgenealogy-activator.php(44): WPGenealogy\WPGenealogy_Activator::insert_data() 10 /home/mysites/public_html/mydomain/wp-content/plugins/wpgenealogy/wpgenealogy.php(90): WPGenealogy\WPGenealogy_Activator::activate() 11 /home/mysites/public_html/mydomain/wp-includes/class-wp-hook.php(324): wpgenealogy_activate() 12 /home/mysites/public_html/mydomain/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 13 /home/mysites/public_html/mydomain/wp-includes/plugin.php(517): WP_Hook->do_action() 14 /home/mysites/public_html/mydomain/wp-admin/includes/plugin.php(703): do_action() 15 /home/mysites/public_html/mydomain/wp-admin/plugins.php(60): activate_plugin() 16 {main}

    thrown in /home/mysites/public_html/mydomain/wp-content/plugins/wpgenealogy/vendor/nesbot/carbon/src/Carbon/Traits/Creator.php on line 895

    Thread Starter unskathd

    (@unskathd)

    If the author (I believe?) @blackandwhitedigital is contactable to look into this, that would be fabulous!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.