• This message appears only on one page in my site, the home page of course. The plugin does not show any options for unloading after the error and yoast app for that page is missing there as well.

    Fatal error: Uncaught Error: Call to undefined method WPSEO_Options::get() in /home/starwoo0/public_html/wp-content/plugins/wp-asset-clean-up/classes/MetaBoxes.php:97 Stack trace: #0 /home/starwoo0/public_html/wp-admin/includes/template.php(1343): WpAssetCleanUp\MetaBoxes->renderAssetManagerMetaBoxContent(Object(WP_Post), Array) #1 /home/starwoo0/public_html/wp-admin/edit-form-advanced.php(677): do_meta_boxes(Object(WP_Screen), ‘normal’, Object(WP_Post)) #2 /home/starwoo0/public_html/wp-admin/post.php(198): include(‘/home/starwoo0/…’) #3 {main} thrown in /home/starwoo0/public_html/wp-content/plugins/wp-asset-clean-up/classes/MetaBoxes.php on line 97

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Gabe Livan

    (@gabelivan)

    @ivystar7 are you saying this error is showing up in the front-end view? That function should ONLY be triggered (for checking) within the edit media page inside the Dashboard. Can you enable “Test Mode” and visit the homepage again? I’d like a print screen (you can send it via https://gabelivan.com/contact/ along with your “System Info”).

    Thread Starter ivystar7

    (@ivystar7)

    It’s on the back end, sorry for the confusion. I can use the cleaner on some pages but not all pages.

    Plugin Author Gabe Livan

    (@gabelivan)

    @ivystar7 The code triggering the error (surprisingly) should only do it for Media attachments (images, PDF, etc.). “attachment” is a WordPress post type and by default Asset CleanUp allows you to manage assets on an attachment page (although they are rarely used).

    The CSS/JS management list is irrelevant when “Redirect attachment URLs to the attachment itself?” is enabled in “Yoast SEO” -> “Media”.

    I have a few questions:

    1) So, are you getting this error only there or when you also edit regular post/pages (not attachments)? Asset CleanUp checks if Yoast SEO is enabled and only verifies if that setting is ON if the SEO plugin is enabled. If it’s not, you shouldn’t get that error, unless there’s something really funny there.

    2) Can you send me your “System Info” from “Tools” (Asset CleanUp’s menu) via https://gabelivan.com/contact/ (privately as it contains sensitive information)?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error’ is closed to new replies.