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

Notice: Undefined index: name #202

Closed
metbril opened this issue Aug 5, 2018 · 4 comments
Closed

Notice: Undefined index: name #202

metbril opened this issue Aug 5, 2018 · 4 comments

Comments

@metbril
Copy link

metbril commented Aug 5, 2018

Notice: Undefined index: name in /home/deb38267n2/domains/robertvanbregt.nl/public_html/wp/wp-content/plugins/indieweb-post-kinds.BAK/includes/class-kind-view.php on line 321

return sprintf( '<span class="h-card p-author"><img src="%1s" class="u-photo" alt="%2s" width=%3s height=%4s />%5s</span>', $author['photo'], $author['name'], $args['width'], $args['height'], $author['name'] );

I created 2 bookmarks:

The first one shows ok, the second shows the error.

My guess it's to do with the author["name"].

@dshanske
Copy link
Owner

dshanske commented Aug 5, 2018

I thought I had checked every single index. Will fix this in next release

@philbowell
Copy link

I'm also receiving this error but on line 326.

Notice: Undefined index: name in /home/pbblog/public_html/wp-content/plugins/indieweb-post-kinds/includes/class-kind-view.php on line 326

Only seems to be on this like as an earlier one doesn't have it.

@dshanske
Copy link
Owner

Added some temporary code to address this. It isn't ideal, but want to eliminate the error before rewriting it.

@dshanske
Copy link
Owner

Closing this. Please reopen if version 3.1.0 doesn't address.

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

3 participants