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

Method get_html throws fatal error on child themes #24

Open
actual-saurabh opened this issue Oct 19, 2016 · 1 comment
Open

Method get_html throws fatal error on child themes #24

actual-saurabh opened this issue Oct 19, 2016 · 1 comment

Comments

@actual-saurabh
Copy link
Member

https://github.com/yapapaya/live-comment-preview/blob/master/classes/class-live-comment-preview.php#L202-L213 gets an empty array from template_file method, as described in #23.

Because of this https://github.com/yapapaya/live-comment-preview/blob/master/classes/class-live-comment-preview.php#L211 throws a fatal error. Irrespective of #23, this should not throw a fatal error since a check for whether the array is empty should anyways exist.

@mariadanieldeepak
Copy link

@actual-saurabh,

I just tested the plugin with a child theme and the plugin worked as expected. Could you post a screenshot of the error if you get any?

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

No branches or pull requests

2 participants