Error using custom endpoint

Created on 7 August 2012, almost 13 years ago
Updated 26 November 2024, 6 months ago

Having created an endpoint for a oembed provider returning a oEmbed XML response

However the album_id and tag in the XML DOM doesn't have any values. Because of that an Exception is thrown

Exception: Serialization of 'SimpleXMLElement' is not allowed in serialize() (line 463 of /PATH/site/includes/cache.inc).

It turns out that get_object_vars on line 362 in oembedcore.module fails here since album_id and tag are setting empty values to SimpleXMLElement.

πŸ› Bug report
Status

Closed: outdated

Component

Code

Created by

πŸ‡©πŸ‡°Denmark trogels

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡¦Ukraine AstonVictor

    I'm closing it because the issue was created a long time ago without any further steps.

    if you still need it then raise a new one.
    thanks

Production build 0.71.5 2024