• Resolved genepine

    (@genepine)


    I won’t insert “New Member form link” to the login page.

    So I set WP-Members option
    Page:
    Register Page: Select a Page | For creating a register link in the login form.

    But Warning is showed top of Admin page.

    wp-core
    version: 6.2.2
    
    wp-active-theme
    name: Japacart Child (japacart-child)
    version: 1.0.0
    author: Japaweb
    wp-parent-theme
    name: Japacart (japacart)
    version: 2.5.1
    author: Japaweb
    wp-server
    server_architecture: Windows NT 10.0 AMD64
    httpd_software: nginx/1.16.0
    php_version: 7.4.3 64bit
    wp-database
    extension: mysqli
    server_version: 8.0.16
    
    WP-Members
    Version 3.4.7.3
    WooCommerce
    Version 7.7.0

    Warning: Creating default object from empty value in E:\xxxxx\xxxx\wpwc-membership\app\public\wp-content\plugins\wp-members\includes\admin\tabs\class-wp-members-admin-tab-options.php on line 624
    Call Stack

    Time Memory Function Location

    1 0.0005 382696 {main}( ) …\options-general.php:0
    2 0.0005 383432 require_once( ‘E:\xxxxx\xxxxx\wpwc-membership\app\public\wp-admin\admin.php’ ) …\options-general.php:10
    3 2.4838 45821352 do_action( ) …\admin.php:259
    4 2.4838 45821728 WP_Hook->do_action( ) …\plugin.php:517
    5 2.4838 45821728 WP_Hook->apply_filters( ) …\class-wp-hook.php:332
    6 2.4838 45822856 wpmem_admin( ) …\class-wp-hook.php:308
    7 2.4839 45822856 wpmem_admin_action( ) …\admin.php:39
    8 2.4839 45822856 WP_Members_Admin_Tab_Options::update( ) …\admin.php:96
    9 2.4858 45817896 WP_Members_Admin_Tab_Options::save_settings( ) …\class-wp-members-admin-tab-options.php:592

    • This topic was modified 1 year, 10 months ago by genepine.

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Chad Butler

    (@cbutlerjr)

    Thanks for reporting. I’ll look into it. Meanwhile, it shouldn’t affect the settings as a php warning is just a notification – it doesn’t halt execution of the existing process (also, the warning has to do with the woo settings in the plugin, so it shouldn’t be affecting the page location setting update).

    Plugin Author Chad Butler

    (@cbutlerjr)

    There is a pending patch for this issue. Please try replacing the file wp-members/includes/admin/tabs/class-wp-members-tab-options.php with the version at the gist below:

    https://gist.github.com/rocketgeek/bab08b67552849b7115b48ad6e6bbd03

    Thread Starter genepine

    (@genepine)

    Hi, I have confirmed that the issue has been fixed.

    • This reply was modified 1 year, 10 months ago by genepine.
    Plugin Author Chad Butler

    (@cbutlerjr)

    Glad to hear that worked for you. I’ll be pushing out an update later this week that includes this patch.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Admin error showed when set “Page>Register Page: ” option to blank’ is closed to new replies.