Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Removing Image Size Throws Fatal Error #33

Closed
hguiney opened this Issue · 2 comments

2 participants

@hguiney

picturefill_wp_remove_image_from_responsive_list('thumbnail'); results in:

PHP Fatal error: Using $this when not in object context in /path/wordpress/wp-content/plugins/picturefillwp/inc/class-picturefill-wp-function-helpers.php on line 196, referer: http://domain.com/wordpress/wp-admin/post.php?post=123&action=edit&message=10

@kylereicks kylereicks referenced this issue from a commit
@kylereicks re issues #32 and #33 reference the class correctly in filter calls, …
…and use array_splice correctly
75c6b5f
@kylereicks
Owner

Thanks very much for the helpful feedback hguiney. I've pushed a few hotfixes to the master branch. If you can confirm that it fixes the issue, I'll push the fixes to the wordpress.org repository.

@kylereicks
Owner

These updates were pushed to version 1.3.4

If the updates did not address the issue as expected, please re-open the issue.

Thanks very much.

@kylereicks kylereicks closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.