Clicked in DB field "option_value" and it changed

I'm using a Wordpress plugin that uses serialized arrays to store data entered through the Dashboard. The plugin is Genesis Extender. Here's what happened:

> I viewed the data in phpMyAdmin.
> I double clicked on the field.
> I copied/pasted it elsewhere.
> I didn't change anything.
> When I clicked off of the field, the program returned, "1 row updated"

Now, I can't see the data via the Dashboard. I have a very limited understanding of how serialized arrays work. I don't understand why I can't view the data that is sitting in the database via the Dashboard any longer. Please help!

  • Chris

    HI Vaughan,

    The plugin saves the data to both php files and the database. I have tried pasting the respective values back into the files and database, but nothing happens. I refresh the plugin and don't see anything. If I save the plugin, it will overwrite the data, clearing the database and files. I'll paste the serialized array below:

    a:19:{s:16:"footer_copyright";a:6:{s:9:"hook_name";s:16:"footer_copyright";s:12:"conditionals";s:0:"";s:13:"hook_location";s:14:"genesis_footer";s:13:"hook_textarea";s:311:"<div align=\"center\"><p style=\"font-size: 11px;margin-bottom: 15px;\">Copyright © <?php echo date(\'Y\'); ?>  · A <a href=\"http://pagerankmedia.com\" target=\"_blank\">Page Rank Media</a> Property</p></div>";s:6:"status";s:2:"no";s:8:"priority";s:2:"10";}s:9:"recaptcha";a:6:{s:9:"hook_name";s:9:"recaptcha";s:12:"conditionals";s:0:"";s:13:"hook_location";s:14:"genesis_before";s:13:"hook_textarea";s:77:"<script src=\'https://www.google.com/recaptcha/api.js\'></script>";s:6:"status";s:3:"hkd";s:8:"priority";s:2:"10";}s:14:"reset_password";a:6:{s:9:"hook_name";s:14:"reset_password";s:12:"conditionals";s:0:"";s:13:"hook_location";s:15:"genesis_doctype";s:13:"hook_textarea";s:305:"<?php
    if ( !is_user_logged_in() ) {
    echo \'<div style=\"padding-left: 15%;\"><a href=\"//example.com/wp-login.php?action=lostpassword\" style=\"font-size: 14px; color: blue;\">Forgot your password?</a></div>\';
    } else {
    return;
    }
    ?>";s:6:"status";s:3:"sht";s:8:"priority";s:2:"10";}s:18:"user_logged_in_css";a:6:{s:9:"hook_name";s:18:"user_logged_in_css";s:12:"conditionals";s:17:"is_user_logged_in";s:13:"hook_location";s:14:"genesis_before";s:13:"hook_textarea";s:232:"<style>
    
    .loggedin {display: none;}
    
    @media (max-width : 365px) {
    .site-header .wrap {
        padding: 40px 5% 0 5%;
    }
    .logincell {display: none;}
    
    #wpadminbar {
        position: fixed;
        top: 0px;
    
    }
    </style>";s:6:"status";s:3:"hkd";s:8:"priority";s:2:"10";}s:15:"account_buttons";a:6:{s:9:"hook_name";s:15:"account_buttons";s:12:"conditionals";s:0:"";s:13:"hook_location";s:15:"genesis_doctype";s:13:"hook_textarea";s:1423:"<?php
    
    global $current_user;
    $username = $current_user->user_login;
    
    if ( is_user_logged_in() ) {
    echo \'
    <div class=\"first\" style=\"margin-top: 30px;\">
    <div class=\"one-fifth first\"><a href=\"/forums/\" class=\"button hvr-icon-float\" style=\"color: white;\">Forums</a></div>
    <div class=\"one-fifth\"><a href=\"/groups/\" class=\"button hvr-icon-buzz-out \" style=\"color: white;\">Groups</a></div>
    <div class=\"one-fifth\"><a href=\"/members/\'.$username.\'/messages/\" class=\"button hvr-icon-float-away\" style=\"color: white;\">Inbox</a></div>
    <div class=\"one-fifth\"><a href=\"/members/\'.$username.\'/blogs/\" class=\"button hvr-icon-pulse-grow\" style=\"color: white;\">My Site</a></div>
    <div class=\"one-fifth item\" style=\"height: 60px;\"><a href=\"/tutorials/\" class=\"button hvr-icon-wobble-horizontal\" style=\"color: white; min-width: 100px;\"><span class=\"label success new-label\"><span class=\"align\">Start</span></span></a></div>
    </div>
    \';
    } else {
    return;
    }
    ?>";s:6:"status";s:3:"sht";s:8:"priority";s:2:"10";}s:13:"view_messages";a:6:{s:9:"hook_name";s:13:"view_messages";s:12:"conditionals";s:0:"";s:13:"hook_location";s:15:"genesis_doctype";s:13:"hook_textarea";s:192:"<?php
    global $current_user;
    $username = $current_user->user_login;
    
    	// Code
    if ( is_user_logged_in() ) {
    echo \'/members/\'.$username.\'/messages/\';
    } else {
    return;
    }
    ?>";s:6:"status";s:3:"sht";s:8:"priority";s:2:"10";}s:15:"account_details";a:6:{s:9:"hook_name";s:15:"account_details";s:12:"conditionals";s:0:"";s:13:"hook_location";s:15:"genesis_doctype";s:13:"hook_textarea";s:567:"<?php
    
    global $current_user;
    $username = $current_user->user_login;
    
    if ( is_user_logged_in() ) {
    echo \'<div class=\"first\" style=\"font-size: 14px; margin-bottom: 20px;\"><a href=\"/members/\'.$username.\'/profile/\">View Profile</a> • 
    <a href=\"/members/\'.$username.\'/profile/edit\">Edit Profile</a> • 
    <a href=\"/upgrade/\">View Your Membership</a></div>
    \';
    
    } else {
    return;
    }
    
    ?>";s:6:"status";s:3:"sht";s:8:"priority";s:2:"10";}s:12:"divider_line";a:6:{s:9:"hook_name";s:12:"divider_line";s:12:"conditionals";s:17:"is_not_front_page";s:13:"hook_location";s:14:"genesis_before";s:13:"hook_textarea";s:98:"<style>
    .entry-content {border-right: 1px solid #000; padding-right: 20px;}
    </style>";s:6:"status";s:2:"no";s:8:"priority";s:2:"10";}s:7:"my_site";a:6:{s:9:"hook_name";s:7:"my_site";s:12:"conditionals";s:0:"";s:13:"hook_location";s:15:"genesis_doctype";s:13:"hook_textarea";s:238:"<?php
    
    global $current_user;
    $username = $current_user->user_login;
    
    if ( is_user_logged_in() ) {
    echo \'<a href=\"/members/\'.$username.\'/blogs/\" >My Site</a>\';
    } else {
    echo \'My Site\';
    }
    ?>";s:6:"status";s:3:"sht";s:8:"priority";s:2:"10";}s:8:"user_url";a:6:{s:9:"hook_name";s:8:"user_url";s:12:"conditionals";s:0:"";s:13:"hook_location";s:15:"genesis_doctype";s:13:"hook_textarea";s:335:"<?php
    global $current_user;
      $blogs = get_blogs_of_user( $current_user->id );
         if($blogs) {
             foreach ( $blogs as $blog ) {
    if($blog->userblog_id != 1) {
             echo \'<a href=\"//\' . $blog->domain . \'/wp-admin/\">\' . $blog->domain . \'/wp-admin/</a> \';
    }
    
    }
    }
     ?>";s:6:"status";s:3:"sht";s:8:"priority";s:2:"10";}s:15:"video_dashboard";a:6:{s:9:"hook_name";s:15:"video_dashboard";s:12:"conditionals";s:0:"";s:13:"hook_location";s:15:"genesis_doctype";s:13:"hook_textarea";s:284:"<?php
    global $current_user;
      $blogs = get_blogs_of_user( $current_user->id );
         if($blogs) {
             foreach ( $blogs as $blog ) {
    if($blog->userblog_id != 1) {
             echo \'//\' . $blog->domain . \'/wp-admin/admin.php?page=video-tuts\';
    }
    
    }
    }
     ?>";s:6:"status";s:3:"sht";s:8:"priority";s:2:"10";}s:18:"member_account_css";a:6:{s:9:"hook_name";s:18:"member_account_css";s:12:"conditionals";s:17:"is_member_account";s:13:"hook_location";s:14:"genesis_before";s:13:"hook_textarea";s:3895:"<link href=\"/css/hover-min.css\" rel=\"stylesheet\" media=\"all\">
    <link href=\"/css/font-awesome-4.5.0/css/font-awesome.min.css\" rel=\"stylesheet\" media=\"all\">
    
    <style>
    .breadcrumb {display: none;}
    .entry-title {display: none;}
    .entry-content {border-right: 1px solid #000; padding-right: 20px;min-height: 900px;}
    .wdpu-buttons {text-align: right; width: 320px;}
    .sidebar .widget::after {display: none;}
    #support-label { position: relative; float: left; text-align:right; width: 50%;}
    #support-timer { position: relative; float: right; width: 50%;}
    .eab_next_event_countdown-wrapper {margin-right: 60px;}
    .fts-jal-fb-group-display {width: auto; font-size: 14px;}
    .fts-jal-fb-header {display: none;}
    .group-infos a, .user-infos a {color: blue; font-size: 16px;}
    .my_members .featured .my_members-ul li {background-color: #fff;}
    .widget-title {margin-top: 20px;}
    .ambassadors {font-size: 14px;}
    .my_activity-ul {margin: 0px !important;}
    .my_activity-ul li {padding-bottom: 0px !important; border-bottom: 0px !important; }
    .time-since {display: none;}
    .forum {padding-bottom: 40px !important;}
    .activity-content {font-size: 16px !important;}
    .activity-action {font-weight: 400;}
    .bc_excerpt {font-size: 16px; margin: 0px !important;}
    .my_messages ul.my_messages-ul li {padding: 5px 0px;}
    .my_messages ul.my_messages-ul {margin-bottom: 0px !important;}
    input#bbp_search_submit.button {display: none;}
    .content {border-right: 1px solid #000; padding-right: 20px;}
    .button {
        display: inline-block;
        padding: 1em;
        background-color: #0988CE;
        text-decoration: none;
        color: white;
        margin-bottom: 30px;}
    
    /* Icon Spin */
    .hvr-icon-spin, .hvr-icon-pulse-grow, .hvr-icon-float, .hvr-icon-buzz-out, .hvr-icon-float-away {
      display: inline-block;
      vertical-align: middle;
      -webkit-transform: translateZ(0);
      transform: translateZ(0);
      box-shadow: 0 0 1px rgba(0, 0, 0, 0);
      -webkit-backface-visibility: hidden;
      backface-visibility: hidden;
      -moz-osx-font-smoothing: grayscale;
      position: relative;
      padding-right: 2.2em !important;
    }
    .hvr-icon-spin:before {
      content: \"\\f013\";
      position: absolute;
      right: 0.75em;
      padding: 0 1px;
      font-family: FontAwesome;
      -webkit-transition-duration: 1s;
      transition-duration: 1s;
      -webkit-transition-property: transform;
      transition-property: transform;
      -webkit-transition-timing-function: ease-in-out;
      transition-timing-function: ease-in-out;
    }
    
    .hvr-icon-pulse-grow:before {
      content: \"\\f015\";
      position: absolute;
      right: 0.75em;
      padding: 0 1px;
      font-family: FontAwesome;
      -webkit-transition-duration: 1s;
      transition-duration: 1s;
      -webkit-transition-property: transform;
      transition-property: transform;
      -webkit-transition-timing-function: ease-in-out;
      transition-timing-function: ease-in-out;
    }
    
    .hvr-icon-float:before {
      content: \"\\f0e5\";
      position: absolute;
      right: 0.75em;
      padding: 0 1px;
      font-family: FontAwesome;
      -webkit-transition-duration: 1s;
      transition-duration: 1s;
      -webkit-transition-property: transform;
      transition-property: transform;
      -webkit-transition-timing-function: ease-in-out;
      transition-timing-function: ease-in-out;
    }
    
    .hvr-icon-buzz-out:before {
      content: \"\\f0c0\";
      position: absolute;
      right: 0.75em;
      padding: 0 1px;
      font-family: FontAwesome;
      -webkit-transform: translateZ(0);
      transform: translateZ(0);
    }
    
    .hvr-icon-float-away:before, .hvr-icon-float-away:after {
      content: \"\\f003\";
      position: absolute;
      right: 0.75em;
      padding: 0 1px;
      font-family: FontAwesome;
    }
    
    .my_activity {margin-bottom: 20px;}
    #bp_messages_sitewide_notices_widget-2 {margin-bottom: 12px;}
    </style>";s:6:"status";s:2:"no";s:8:"priority";s:2:"10";}s:14:"header_scripts";a:6:{s:9:"hook_name";s:14:"header_scripts";s:12:"conditionals";s:11:"is_tutorial";s:13:"hook_location";s:14:"genesis_before";s:13:"hook_textarea";s:4159:"<script type=\"text/javascript\" src=\"//code.jquery.com/jquery-1.9.1.js\"></script>
    <script src=\"https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js\"></script>
    <script type=\"text/javascript\" src=\"//code.jquery.com/jquery-2.0.0b1.js\"></script>
    <script type=\"text/javascript\" src=\"//code.jquery.com/jquery-1.11.0.js\"></script>
    <link rel=\"stylesheet\" type=\"text/css\" href=\"//netdna.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css\">
    <script type=\"text/javascript\" src=\"//netdna.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js\"></script>
    <link rel=\"stylesheet\" href=\"/wp-content/themes/executive-pro/animate.css\">
    <script src=\"/wp-content/themes/executive-pro/aoscroll.js\"></script>
    <script type=\'text/javascript\' src=\'/wp-content/plugins/contact-form-7/includes/js/scripts.js?ver=1f5377270e80de4af718712f3afaf586\'></script>
    <script type=\'text/javascript\' src=\'/wp-content/themes/modern-portfolio-pro/js/jquery.scrollTo.min.js?ver=1f5377270e80de4af718712f3afaf586-beta\'></script>
    <script type=\'text/javascript\' src=\'/wp-content/themes/modern-portfolio-pro/js/jquery.localScroll.min.js?ver=1f5377270e80de4af718712f3afaf586b\'></script>
    <script type=\'text/javascript\' src=\'/wp-content/themes/modern-portfolio-pro/js/scroll.js?ver=1f5377270e80de4af718712f3afaf586\'></script>
    <script type=\'text/javascript\' src=\'/wp-includes/js/wp-embed.min.js?ver=1f5377270e80de4af718712f3afaf586\'></script>
    
    <script>
    jQuery(document).ready(function($){
        $(\'#menu-item-1100\').addClass(\'animated shake\');
    });
    </script>
    
    <script>
    new WOW().init();
    </script>
    
    <Script language=\"JavaScript\">
    
    function goto(form) { var index=form.select.selectedIndex
    if (form.select.options[index].value != \"0\") {
    location=form.select.options[index].value;}}
    //-->
    </SCRIPT>
    
    <script>
    jQuery(document).ready(function ($) {
    
      $(\'.nav a\').click(function (e) {
      e.preventDefault()
      $(this).tab(\'show\')
    })  
    
        $(\'a.scroll\').on(\'click\', function (e) {
            var href = $(this).attr(\'href\');
            $(\'html, body\').animate({
                scrollTop: $(href).offset().top -500
            }, \'slow\');
            e.preventDefault();
        });
    });
    </script>
    
    <style>
    
    .genesis-nav-menu, .genesis-nav-menu a, .genesis-nav-menu .menu-item {
    font-weight: 500;
    color: #222;
    text-align: left;
    font-family: \'Lato\', sans-serif;
    font-size: 18px;
    float: right;
    text-decoration: none;
    }
    
    form { display: inline-block;}
    #videoselect
    {padding: 5px;}
    
    .breadcrumb {display: none;}
    .col-sm-11 {
        color: #222;
        font-family: \'Lato\', sans-serif;
        font-size: 18px;
        font-weight: 300;
        line-height: 1.625;
    }
    
    strong {font-weight: 400; }
    
    .tabs-left {
      border-bottom: none;
      padding-top: 2px;
    width: 250px;
    }
    .tabs-left {
      border-right: 1px solid #ddd;
    }
    .tabs-left>li, .tabs-right>li {
      float: none;
      margin-bottom: 2px;
    }
    .tabs-left>li {
      margin-right: -1px;
    }
    .tabs-left>li.active>a,
    .tabs-left>li.active>a:hover,
    .tabs-left>li.active>a:focus {
      border-bottom-color: #ddd;
      border-right-color: transparent;
    }
    
    .tabs-left>li>a {
      border-radius: 4px 0 0 4px;
      margin-right: 0;
      display:block;
    }
    
    #top-link-block.affix-top {
        position: relative; /* allows it to \"slide\" up into view */
        bottom: -40px; /* negative of the offset - height of link element */
        left: 20px; /* padding from the left side of the window */
    }
    #top-link-block.affix {
        position: relative; /* keeps it on the bottom once in view */
        bottom: -40px; /* height of link element */
        left: 20px; /* padding from the left side of the window */
    }
    h2 {margin-bottom: 20px;}
    </style>";s:6:"status";s:3:"hkd";s:8:"priority";s:2:"10";}s:13:"tutorials_css";a:6:{s:9:"hook_name";s:13:"tutorials_css";s:12:"conditionals";s:11:"is_tutorial";s:13:"hook_location";s:14:"genesis_before";s:13:"hook_textarea";s:1538:"<style>
    
    .genesis-nav-menu, .genesis-nav-menu a, .genesis-nav-menu .menu-item {
    font-weight: 500;
    color: #222;
    text-align: left;
    font-family: \'Lato\', sans-serif;
    font-size: 18px;
    float: right;
    text-decoration: none;
    }
    
    form { display: inline-block;}
    #videoselect
    {padding: 5px;}
    
    .breadcrumb {display: none;}
    .col-sm-11 {
        color: #222;
        font-family: \'Lato\', sans-serif;
        font-size: 18px;
        font-weight: 300;
        line-height: 1.625;
    }
    
    strong {font-weight: 400; }
    
    .tabs-left {
      border-bottom: none;
      padding-top: 2px;
    width: 250px;
    }
    .tabs-left {
      border-right: 1px solid #ddd;
    }
    .tabs-left>li, .tabs-right>li {
      float: none;
      margin-bottom: 2px;
    }
    .tabs-left>li {
      margin-right: -1px;
    }
    .tabs-left>li.active>a,
    .tabs-left>li.active>a:hover,
    .tabs-left>li.active>a:focus {
      border-bottom-color: #ddd;
      border-right-color: transparent;
    }
    
    .tabs-left>li>a {
      border-radius: 4px 0 0 4px;
      margin-right: 0;
      display:block;
    }
    
    #top-link-block.affix-top {
        position: relative; /* allows it to \"slide\" up into view */
        bottom: -40px; /* negative of the offset - height of link element */
        left: 20px; /* padding from the left side of the window */
    }
    #top-link-block.affix {
        position: relative; /* keeps it on the bottom once in view */
        bottom: -40px; /* height of link element */
        left: 20px; /* padding from the left side of the window */
    }
    h2 {margin-bottom: 20px;}
    </style>";s:6:"status";s:2:"no";s:8:"priority";s:2:"10";}s:23:"tutorial_header_scripts";a:6:{s:9:"hook_name";s:23:"tutorial_header_scripts";s:12:"conditionals";s:11:"is_tutorial";s:13:"hook_location";s:12:"genesis_meta";s:13:"hook_textarea";s:1765:"<script type=\"text/javascript\" src=\"//code.jquery.com/jquery-1.9.1.js\"></script>
    <script src=\"https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js\"></script>
    <script type=\"text/javascript\" src=\"http://code.jquery.com/jquery-2.0.0b1.js\"></script>
    <script type=\"text/javascript\" src=\"//code.jquery.com/jquery-1.11.0.js\"></script>
    <link rel=\"stylesheet\" type=\"text/css\" href=\"//netdna.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css\">
    <script type=\"text/javascript\" src=\"//netdna.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js\"></script>
    <link rel=\"stylesheet\" href=\"/wp-content/themes/executive-pro/animate.css\">
    <script src=\"/wp-content/themes/executive-pro/aoscroll.js\"></script>
    <script type=\'text/javascript\' src=\'/wp-content/plugins/contact-form-7/includes/js/scripts.js?ver=1f5377270e80de4af718712f3afaf586\'></script>
    <script type=\'text/javascript\' src=\'/wp-content/themes/modern-portfolio-pro/js/jquery.scrollTo.min.js?ver=1f5377270e80de4af718712f3afaf586-beta\'></script>
    <script type=\'text/javascript\' src=\'/wp-content/themes/modern-portfolio-pro/js/jquery.localScroll.min.js?ver=1f5377270e80de4af718712f3afaf586b\'></script>
    <script type=\'text/javascript\' src=\'/wp-content/themes/modern-portfolio-pro/js/scroll.js?ver=1f5377270e80de4af718712f3afaf586\'></script>
    <script type=\'text/javascript\' src=\'/wp-includes/js/wp-embed.min.js?ver=1f5377270e80de4af718712f3afaf586\'></script>";s:6:"status";s:2:"no";s:8:"priority";s:2:"10";}s:14:"sign_up_button";a:6:{s:9:"hook_name";s:14:"sign_up_button";s:12:"conditionals";s:17:"is_user_logged_in";s:13:"hook_location";s:14:"genesis_before";s:13:"hook_textarea";s:195:"<style>
    .remove-button {display: none;}
    </style>
    <script>
    jQuery(document).ready(function($){
        $(\'#signup-button a\').addClass(\'remove-button\');
    });
    </script>";s:6:"status";s:3:"hkd";s:8:"priority";s:2:"10";}s:17:"member_account_js";a:6:{s:9:"hook_name";s:17:"member_account_js";s:12:"conditionals";s:17:"is_member_account";s:13:"hook_location";s:14:"genesis_before";s:13:"hook_textarea";s:167:"<script>
    jQuery(document).ready(function($){
    document.getElementById(\"bbp_search\").placeholder = \"Search Forums\";
    });
    </script>";s:6:"status";s:3:"hkd";s:8:"priority";s:2:"10";}s:16:"reviewers_script";a:6:{s:9:"hook_name";s:16:"reviewers_script";s:12:"conditionals";s:19:"is_desktop_reviewer";s:13:"hook_location";s:14:"genesis_before";s:13:"hook_textarea";s:628:"<script type=\'text/javascript\' src=\'/wp-content/themes/modern-portfolio-pro/js/jquery.scrollTo.min.js?ver=1f5377270e80de4af718712f3afaf586-beta\'></script>
    <script type=\'text/javascript\' src=\'/wp-content/themes/modern-portfolio-pro/js/jquery.localScroll.min.js?ver=1f5377270e80de4af718712f3afaf586b\'></script>
    <script type=\'text/javascript\' src=\'/wp-content/themes/modern-portfolio-pro/js/scroll.js?ver=1f5377270e80de4af718712f3afaf586\'></script>
    <script type=\'text/javascript\' src=\'/wp-includes/js/wp-embed.min.js?ver=1f5377270e80de4af718712f3afaf586\'></script>";s:6:"status";s:3:"hkd";s:8:"priority";s:2:"10";}s:20:"reviewer_css_scripts";a:6:{s:9:"hook_name";s:20:"reviewer_css_scripts";s:12:"conditionals";s:20:"is_reviewer_overview";s:13:"hook_location";s:14:"genesis_before";s:13:"hook_textarea";s:2083:"<link rel=\"stylesheet\" href=\"/wp-content/themes/executive-pro/animate.css\">
    <script src=\"/wp-content/themes/executive-pro/aoscroll.js\"></script>
                  <script>
                  new WOW().init();
                  </script>
    
    <script type=\'text/javascript\' src=\'/wp-content/plugins/contact-form-7/includes/js/scripts.js?ver=1f5377270e80de4af718712f3afaf586\'></script>
    
    <script>
    jQuery(document).ready(function($){
        $(\'#menu-item-547\').addClass(\'animated shake\');
    });
    </script>
    <script>
    jQuery(document).ready(function($){
    
        if ($(window).width() < 999) {
            $(\'#menu-item-511\').addClass(\'animated flip\');
        } else {
    
                $(\'#menu-item-511\').removeClass(\'animated flip\');
            }
    
    });
    </script>
    
    <script>
    jQuery(document).ready(function($){
    document.getElementById(\"bbp_search\").placeholder = \"Search Forums\";
    });
    
    </script>
    
    <style>
    
    /* Page Setup */
    
    .entry-title {display: none;}
    .breadcrumb {display: none;}
    div.bbp-template-notice.info {display: none;}
    .textcell {background-color: #eee; border: 1px solid #ddd;}
    .textcell h4 {padding-left: 40px;}
    .genesis-nav-menu a {padding: 24px 10px;}
    #menu-item-547,  .startmenu {
      -webkit-animation-duration: 2s;
      -webkit-animation-delay: 2s;
      -webkit-animation-iteration-count: 1;
    }
    
    #menu-item-511 {
      -webkit-animation-duration: 1s;
      -webkit-animation-delay: 3s;
      -webkit-animation-iteration-count: 1;
    }
    
    strong {font-weight: 500;}
    
    @media
    (min-width : 999px) {
    
    	#mobile {display:none !important;}
    	#tablet {display:none !important;}
    
    .site-header .wrap {
        z-index: 2;
        min-height: 90px;
        position: fixed;
        min-width: 100%;
        padding: 0 5%;
        background-color: #fff;
    }
    .site-inner {position: relative;
        top: 80px;
       clear: both;}
    
    #introtext
       {margin-top: 20px !important;}
    #introimg
       {margin-top: -30px !important;}
    }
    
    </style>";s:6:"status";s:3:"hkd";s:8:"priority";s:1:"5";}}

    Thanks,
    Chris

  • Vaughan

    So, you have edited that with your new changes?

    You need to make sure the lengths are adjusted if you're changing the content.

    So if we take your 1st line:

    a:19:{s:16:"footer_copyright";a:6:{s:9:"hook_name";s:16:"footer_copyright";s:12:"conditionals";s:0:"";s:13:"hook_location";s:14:"genesis_footer";s:13:"hook_textarea";s:311:"<div align=\"center\"><p style=\"font-size: 11px;margin-bottom: 15px;\">Copyright © <?php echo date(\'Y\'); ?> · A <a href=\"http://pagerankmedia.com\" target=\"_blank\">Page Rank Media</a> Property</p></div>";s:6:"status";s:2:"no";s:8:"priority";s:2:"10";}s:9:"recaptcha";a:6:{s:9:"hook_name";s:9:"recaptcha";s:12:"conditionals";s:0:"";s:13:"hook_location";s:14:"genesis_before";s:13:"hook_textarea";s:77:"<script src=\'https://www.google.com/recaptcha/api.js\'></script>";s:6:"status";s:3:"hkd";s:8:"priority";s:2:"10";}s:14:"reset_password";a:6:{s:9:"hook_name";s:14:"reset_password";s:12:"conditionals";s:0:"";s:13:"hook_location";s:15:"genesis_doctype";s:13:"hook_textarea";s:305:"

    If we look at the end of this we see see

    s:13:"hook_textarea";s:305:

    Then the code below

    The s:305 is the length of the string, this means that whatever is written here should be 305 characters in length. If we run yours through a character count (as below) it says there's 232 chars, so you need to make the 305 = 232 or the same length in characters for each that you have changed.

    We copy the text into a character counter; https://charactercounttool.com/

    <?php
    if ( !is_user_logged_in() ) {
    echo \'<div style=\"padding-left: 15%;\"><a href=\"//example.com/wp-login.php?action=lostpassword\" style=\"font-size: 14px; color: blue;\">Forgot your password?</a></div>\';
    } else {
    return;
    }
    ?>

    This returns 232 characters including spaces & not 305

    If we look at the 1st hook_textarea in the serialized array.

    s:13:"hook_textarea";s:311:"<div align=\"center\"><p style=\"font-size: 11px;margin-bottom: 15px;\">Copyright © <?php echo date(\'Y\'); ?> · A <a href=\"http://pagerankmedia.com\" target=\"_blank\">Page Rank Media</a> Property</p></div>"

    You can see it says s:311 which is the string length.

    This means that the code inside the " should equal 311 chars. in the above case:

    <div align=\"center\"><p style=\"font-size: 11px;margin-bottom: 15px;\">Copyright © <?php echo date(\'Y\'); ?> · A <a href=\"http://pagerankmedia.com\" target=\"_blank\">Page Rank Media</a> Property</p></div>

    = 209 chars, therefore the s should be

    s:13:"hook_textarea";s:209:"<div align=\"center\"><p style=\"font-size: 11px;margin-bottom: 15px;\">Copyright © <?php echo date(\'Y\'); ?>  · A <a href=\"http://pagerankmedia.com\" target=\"_blank\">Page Rank Media</a> Property</p></div>"

    It's not enough to just edit the serialzized array content, you need to also adjust the string length value for everything you change.

    Hope I explained that clearly enough.

    Cheers

  • Vaughan

    It shouldn't have, but it's likely that your browser may have converted some html entities back to their ascii equivalent before you saved, in which case, that could have caused this.

    I don't know what else to suggest on this, either to restore a backup if you possibly can, or you'll need to resave all the data again, or manually edit the value and sort out all those string lengths and so on. that could be a big task..

    Hope this helps

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.