• Resolved Mike

    (@mduschak)


    Question to the plugin authors:
    Is there a better way to structure template files so that we do not continue to have our overriding templates break whenever a template file is updated in the plugin?

    We have had two instances where plugin updates have impacted our sites membership directory.

    In each case we have a custom theme overriding members-grid.php following the recommendation here:
    https://docs.ultimatemember.com/article/1516-templates-map

    Our most recent breakage was the result of the following line being added to members-grid.php:
    $unique_hash = substr( md5( $args['form_id'] ), 10, 5 );

    $unique_hash is used throughout the members-grid.php file update.

    This is a problem because $unique_hash is not in our overriding members-grid.php file.

    The result is that our directory no longer displays any members and we have an error:
    Cannot read property 'replace' of undefined

    I am nervous about continuing using Ultimate Members if this continues to happen after the plugin is updated.

    Any help or guidance is greatly appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Overriding Templates Breaking after Plugin Updates’ is closed to new replies.