• Resolved hs

    (@haradhansharma)


    Fatal error: Uncaught Error: Call to undefined function Sabre\Xml\Serializer\standardSerializer()
    in /home/user/public_html/wp-content/plugins/wpsso-google-merchant-feed/vendor/sabre/xml/lib/Writer.php on line 99

    Call stack:

    Sabre\Xml\Writer::write()
    wp-content/plugins/wpsso-google-merchant-feed/vendor/sabre/xml/lib/Writer.php:188
    Sabre\Xml\Writer::writeElement()
    wp-content/plugins/wpsso-google-merchant-feed/vendor/sabre/xml/lib/Service.php:228
    Sabre\Xml\Service::write()
    wp-content/plugins/wpsso-google-merchant-feed/vendor/vitalybaev/google-merchant-feed/src/Feed.php:143
    Vitalybaev\GoogleMerchant\Feed::build_atom()
    wp-content/plugins/wpsso-google-merchant-feed/vendor/vitalybaev/google-merchant-feed/src/Feed.php:103
    Vitalybaev\GoogleMerchant\Feed::build()
    wp-content/plugins/wpsso-commerce-manager-catalog-feed/lib/xml.php:251
    WpssoCmcfXml::get()
    wp-content/plugins/wpsso-commerce-manager-catalog-feed/lib/submenu/facebook-catalog.php:116
    WpssoCmcfSubmenuFacebookCatalog::get_table_rows()
    wp-content/plugins/wpsso/lib/admin.php:1593
    WpssoAdmin::show_metabox_table()
    wp-admin/includes/template.php:1456
    do_meta_boxes()
    wp-content/plugins/wpsso/lib/admin.php:1427
    WpssoAdmin::show_post_body_settings_form()
    wp-content/plugins/wpsso/lib/admin.php:1275
    WpssoAdmin::show_settings_page()
    wp-includes/class-wp-hook.php:324
    WP_Hook::apply_filters()
    wp-includes/class-wp-hook.php:348
    WP_Hook::do_action()
    wp-includes/plugin.php:517
    do_action()
    wp-admin/admin.php:259
Viewing 1 replies (of 1 total)
  • Plugin Author JS Morisset

    (@jsmoriss)

    The standardSerializer() function is provided with the WPSSO CMCF plugin:

    wpsso-commerce-manager-catalog-feed/vendor/sabre/xml/lib/Serializer/functions.php:function standardSerializer(Writer $writer, $value): void
    wpsso-commerce-manager-catalog-feed/vendor/sabre/xml/lib/Serializer/functions.php: standardSerializer($writer, $item);
    wpsso-commerce-manager-catalog-feed/vendor/sabre/xml/lib/Writer.php: Serializer\standardSerializer($this, $value);

    Perhaps your site is loading an older version of sabre\xml from somewhere which does not include that function. I’ve just released WPSSO CMCF v4.11.0 which requires sabre\xml v4.0.6 or better. Hopefully that will fix your issue on your site.

    js.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.