Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal error after editing theme #437

Open
Luggruff opened this issue Jul 4, 2018 · 1 comment
Open

Fatal error after editing theme #437

Luggruff opened this issue Jul 4, 2018 · 1 comment

Comments

@Luggruff
Copy link

Luggruff commented Jul 4, 2018

I tried naming my theme "1" and used parenthesis in the Author field. The settings page crashed with the error code below, and I cannot find either the theme with the original name (duplicated theme name) or with the new name I tried giving it anywhere on my FTP.

I have no idea how to fix this, but need a fix asap.

Fatal error: Uncaught Error: Call to a member function user() on null in /home/s4nmneq4j1f2/public_html/blog/wp-content/plugins/crayon-syntax-highlighter/crayon_settings_wp.class.php:981 Stack trace: #0 /home/s4nmneq4j1f2/public_html/blog/wp-admin/includes/template.php(1378): CrayonSettingsWP::theme(Array) #1 /home/s4nmneq4j1f2/public_html/blog/wp-admin/includes/template.php(1337): do_settings_fields('crayon_fields', 'crayon_general') #2 /home/s4nmneq4j1f2/public_html/blog/wp-content/plugins/crayon-syntax-highlighter/crayon_settings_wp.class.php(220): do_settings_sections('crayon_fields') #3 /home/s4nmneq4j1f2/public_html/blog/wp-includes/class-wp-hook.php(286): CrayonSettingsWP::settings('') #4 /home/s4nmneq4j1f2/public_html/blog/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array) #5 /home/s4nmneq4j1f2/public_html/blog/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #6 /home/s4nmneq4j1f2/public_html/blog/wp-admin/admin.php(224): do_action('settings_page_c...') #7 /home/s4nmneq4j1f2/public_html/bl in /home/s4nmneq4j1f2/public_html/blog/wp-content/plugins/crayon-syntax-highlighter/crayon_settings_wp.class.php on line 981

@Luggruff
Copy link
Author

Luggruff commented Jul 4, 2018

Nevermind. I had to start all over again, but it finally worked when I deleted this folder:
wp-content/uploads/crayon-syntax-highlighter/themes/1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant