1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fixed error on save a edited product with Initial Support Duration value to 0

Discussion in 'Resolved Bugs' started by lms, Sep 16, 2015.

  1. lms

    lms New Member Xen Product Manager

    Code:
    ErrorException: Undefined variable: visitor - library/XenProduct/ControllerPublic/Product.php:1108
    Generado por: lms, Ayer a las 11:38
    Seguimiento 
    #0 /home/user/public_html/library/XenProduct/ControllerPublic/Product.php(1108): XenForo_Application::handlePhpError(8, 'Undefined varia...', '/home/foroxenf/...', 1108, Array)
    #1 /home/user/public_html/library/XenForo/FrontController.php(347): XenProduct_ControllerPublic_Product->actionSave()
    #2 /home/user/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
    #3 /home/user/public_html/index.php(13): XenForo_FrontController->run()
    #4 {main}
    Estado de la solicitud 
    array(3) {
    ["url"] => string(80) "http://xenfacil.com/products/retirar-branding-o-propiedad-de-traducciones.9/save"
    ["_GET"] => array(0) {
    }
    ["_POST"] => array(22) {
    ["product_title"] => string(44) "Retirar branding o propiedad de traducciones"
    ["version_string"] => string(1) "1"
    ["product_details_html"] => string(330) "<P>Instalalo. Si tienes algún problema, por charla te diré como quitarlo.</P>
    <P>&nbsp;</P>
    <P>Esto solo confiere derecho a retirar el branding o derechos sobre las traducciones de XenFacil, sea cual sea el número instalado, en una sola licencia. Para más licencias, contactar con el Staff.</P>
    <P>&nbsp;</P>
    <P>Salud2</P>"
    ["_xfRelativeResolver"] => string(80) "http://xenfacil.com/products/retirar-branding-o-propiedad-de-traducciones.9/edit"
    ["product_tag_line"] => string(67) "Este recurso te permite retirar el branding o propiedad del recurso"
    ["features"] => array(1) {
    [0] => array(1) {
    ["item"] => string(0) ""
    }
    }
    ["product_thumbnail"] => array(1) {
    [3563] => string(4) "3563"
    }
    ["attachment_hash"] => string(32) "b5011fce5f9f79bf898b0f49f8b68d9f"
    ["price"] => string(5) "25.00"
    ["renew_price"] => string(1) "0"
    ["duration"] => string(1) "0"
    ["duration_unit"] => string(6) "months"
    ["early_renew_from"] => string(1) "2"
    ["early_renew_from_unit"] => string(6) "months"
    ["licensed_user_group"] => string(0) ""
    ["maximum_per_cart"] => string(2) "10"
    ["confirm_license"] => string(2) "1""
    ["requires_activation"] => string(2) "1""
    ["_xfToken"] => string(8) "********"
    ["_xfRequestUri"] => string(61) "/products/retirar-branding-o-propiedad-de-traducciones.9/edit"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
    }
    }
    
    
    When i edit the product, i have the "Undefined variable: visitor" error with no redirect page. As it turns out the modifications are saved but you get the commented error.
    22.png
    Salud2
     
  2. Chris D

    Chris D Xen Resources Developer Staff Member Xen Notices

    This is fixed now, thanks.
     

Share This Page