New Landing How can we help? Themeforest Theme Support Uplift swift framework now contains function sf_get_embed_src

Viewing 2 posts - 1 through 2 (of 2 total)
  • Posted in: Uplift
  • #294925
    WEswift
    Member
    Post count: 234

    For those who may come across this issue later, if you included a custom theme function sf_get_embed_src to play Vimeo videos from a specific timestamp, this will result in a hard error (aka white screen). Swift Framework version 2.5.13 now contains this function and the error comes from the attempt to overwrite it. Just FYI. Remove your added version to fix.

    #294932
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Thanks for the heads up. always try to use the function_exists() before declaring any function inside the functions.php
    http://php.net/manual/en/function.function-exists.php

    this will avoid a fatal error cause by the fact that already exists another function with that name.

    -Rui

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.