Skip to content

Fatal error in GithubUpdater.php #14

@htrex

Description

@htrex

Hello,
I had to comment the init_updater() command on the main plugin file as it was causing a fatal error when opening the WP Plugin admin screen.

Let me know if you need further info.

Fatal error: Uncaught TypeError: Cannot access offset of type string on string in [...]/wp-content/plugins/BBCustomAttributes-master/includes/GithubUpdater.php:127
Stack Trace

  1. JasonTheAdams\BBCustomAttributes\GithubUpdater->get_repository_info()[...]/wp-content/plugins/BBCustomAttributes-master/includes/GithubUpdater.php:166
  2. JasonTheAdams\BBCustomAttributes\GithubUpdater->modify_transient(Object(stdClass))[...]/wp-includes/class-wp-hook.php:326
  3. WP_Hook->apply_filters(Object(stdClass), Array)[...]/wp-includes/plugin.php:205
  4. apply_filters('pre_set_site_tr...', Object(stdClass), 'update_plugins')[...]/wp-includes/option.php:2610
  5. set_site_transient('update_plugins', Object(stdClass))[...]/wp-includes/update.php:393
  6. wp_update_plugins('')[...]/wp-includes/class-wp-hook.php:324
  7. WP_Hook->apply_filters(NULL, Array)[...]/wp-includes/class-wp-hook.php:348
  8. WP_Hook->do_action(Array)[...]/wp-includes/plugin.php:517
  9. do_action('load-plugins.ph...')[...]/wp-admin/admin.php:385
  10. require_once('/home/gransab/s...')[...]/wp-admin/plugins.php:10
  11. {main}
    thrown in [...]/wp-content/plugins/BBCustomAttributes-master/includes/GithubUpdater.php on line 127

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions