Forum Replies Created

Viewing 15 replies - 1 through 15 (of 20 total)
  • Thread Starter hunterhogan

    (@hunterhogan)

    For reasons not related to this error, I deactivated all plugins a few days ago. When I reactivated some of the plugins, the above error seemed to be gone. Starting yesterday, however, I received the “Warning: array_key_exists() expects parameter 2 to be array, null given in /home/content/h/u/n/hunterhogan/html/wp-content/plugins/addthis-smart-layers/addthis-smart_layers.php on line 188” warning intermittenly on admin pages. Starting this morning (Cairo time), the warning has become persistent.

    I have not seen the “Cannot modify header information” yet.

    Any word on the status of this error? Since at least three people are having the problem, is it possible that if we give some information to your developers that they will be able to isolate the problem? If so, what information would be useful?

    Thread Starter hunterhogan

    (@hunterhogan)

    Ha. Opps. I used a different plugin to do the above import. I went back to Users Ultra and the above import did not give an error. The result was

    1 - User name: user_login Email: user_email
    2 - User name: test_delete Email: test12345@hunterthinks.com
    --- Finished ---
    

    So, you fixed it, but I used the wrong file format to show you fixed it. 🙂

    Thread Starter hunterhogan

    (@hunterhogan)

    Excellent. I updated the plugin, and the following CSV worked:

    "user_login","user_email","user_pass","first_name","last_name","display_name","role"
    "test_delete","test12345@hunterthinks.com","HuX?R4U@","Test","Delete-me","Test Delete-me","contributor"
    

    Well, it imported and was on the list. I didn’t check more closely than that. Error is gone.

    Thread Starter hunterhogan

    (@hunterhogan)

    Meh, np. Common problem with multiple people updating the same code.

    Or your code is cursed when the final number is odd and it is an update: 1.1, 1.3.0, 1.3.2…

    I might not be the first person to try to install 1.3.4 or 1.4 😉

    Thread Starter hunterhogan

    (@hunterhogan)

    Thanks. 1.3.1 works.

    Thread Starter hunterhogan

    (@hunterhogan)

    I used FTP to get to my server, then I deleted /wp-content/plugins/slider-captcha/*.*

    My site is working again. After I went back to the plugins screen, I was notified, of course, “The plugin slider-captcha/slider-captcha.php has been deactivated due to an error: Plugin file does not exist.”

    Thread Starter hunterhogan

    (@hunterhogan)

    A step in the right direction?

    I embed PDFs using a dynamic method with a strange set of selection rules. My intuition tells me that something like this might work, but my brain is fried right now.

    On this page, I use

    <section class=”embed-make-fluid embed-size-pdf [irrelevant class]”>
    <embed src=[path]>
    </section>

    The external stylesheet has the relevant CSS

    .embed-make-fluid{border-radius:0;
    height:0;
    padding:0;
    position:relative;}
    .embed-make-fluid>*{height:100%;
    left:0;
    position:absolute;
    top:0;
    width:100%;}
    .embed-size-pdf{height:200%;
    padding-bottom:66.667%;}

    Argh! I feel that the answer is in there somewhere.

    What if I did something lame like
    #email_post_is_an_email>* for the CSS in $email_internal_style_sheet? But it has to be the inverse of that right? *sigh* I need coffee, a nap, or both. There has to be something here.

    Thread Starter hunterhogan

    (@hunterhogan)

    Ok, here goes.

    1. I had v1.1.0
    2. I went to WP admin page, found Slider CAPTCHA 1.1.1 and clicked install now. [OK]
    3. “Successfully installed the plugin Slider CAPTCHA 1.1.1.”
    4. click Activate Plugin
    5. “Plugin activated.”
    6. No errors! Yeah!
    7. Click Setting/Slider Capthca
    8. All of my settings are preserved
    9. Go to http://www.hunterthinks.com/wp-login.php?action=register and the slider is there! (It’s the only place I use it.)

    You fixed it!

    Thread Starter hunterhogan

    (@hunterhogan)

    Some notes

    Even though I have not yet found the specific solution to this specific issue, I feel that you gave me many more things that are much more valuable (see http://www.hunterthinks.com/hopeless/rules.html#knowledge), and I sincerely thank you for generously sharing your time and knowledge with me.

    سلام (peace), 和谐 (harmony), amor (love), and happiness,
    Hunter

    Thread Starter hunterhogan

    (@hunterhogan)

    Thanks for fixing the problem so quickly. It does save the icons now.

    Thread Starter hunterhogan

    (@hunterhogan)

    Awesome. Yes, I think this is what I am missing. After more coffee, I will report back 🙂

    Thread Starter hunterhogan

    (@hunterhogan)

    I feel like a noob
    I must have some sort of mental block against doing this properly.

    URL (I am making changes, so the code below may not be the actual code):
    http://www.hunterthinks.com/category/ardc

    Code that doesn’t generate errors but doesn’t show the one published post that is in the category (URL, if that helps for some reason http://www.hunterthinks.com/ardc/ardc-lawyers-threaten-use-selective-portions-website-evidence)

    <!-- Define the parameters for The Loop -->
    <?php $args = array(
      'post_type' => 'post',
      'tax_query' => array(
        array(
          'taxonomy' => 'ardc',
          'field' => 'slug',
          'include_children' => 'true',
        )
      )
    ); ?>
    <!-- Load the parameters for The Loop -->
    <?php $the_query = new WP_Query( $args ); ?>
    <!-- The Loop -->
      <?php while ( $the_query->have_posts() ) : $the_query->the_post(); ?>
        <p><a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>"><?php the_title(); ?>
        <br /><?php echo get_the_date(); ?>
        <?php if ( has_post_thumbnail() ) { the_post_thumbnail(); } ?></p>
      <?php endwhile; ?>
    <!-- End The Loop -->
    <!-- Reset The Loop query -->
    <?php wp_reset_postdata(); ?>
    <!-- If there are more Posts than can be displayed -->
      <?php get_template_part( 'nav', 'below' ); ?>

    Nothing displays on this page or the photography category page (Nav bar below the advertisement). Reminder: category-documents.php has a different loop.

    I’m going to get some caffeine, so the code should be static for at least 20 minutes. It depends on how far I have to walk to find a store that will sell to me at the Egyptian price rather than all-Americans-are-rich price. “Dude, if I were rich, would I buy lukewarm Pepsi in an alley in Downtown Cairo?”

    No, I’m not frustrated at all. </sarcasm>

    ———————–

    You know what? In the documentation, I really dislike the inconsistency with the use of things like <?php [foo] ?>. If that code is missing, the page won’t work. All code examples should be complete and self-contained. Experienced users don’t need the documentation, and noobs don’t know enough to realized that something is missing. </tangent>

    <bargaining src=”store” title=”I’m not going to pay a lot for this muffler.” lang=”ar_eg_bad” />

    Thread Starter hunterhogan

    (@hunterhogan)

    THANK YOU

    I have not inspected WP_Query(), and the first paragraph of the documentation suggests that it is what I need. I wasn’t in love with $wpdb but I couldn’t get query_posts() to do what I wanted. I get the impression that WP_Query() is the middle ground I need.

    I was going to crawl into the refrigerator, but now I will try to figure out this class. 🙂 Thanks!

    (Other suggestions and ideas are still welcome, of course. I’m new to WordPress and I have a lot to learn.)

    Thread Starter hunterhogan

    (@hunterhogan)

    I deleted both layers and share. I reinstalled only share. Error immediately came back.

    New intermittent error now. On a blank white page

    Warning: array_key_exists() expects parameter 2 to be array, null given in /home/content/h/u/n/hunterhogan/html/wp-content/plugins/addthis-smart-layers/addthis-smart_layers.php on line 188

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/h/u/n/hunterhogan/html/wp-content/plugins/addthis-smart-layers/addthis-smart_layers.php:188) in /home/content/h/u/n/hunterhogan/html/wp-includes/pluggable.php on line 1121

    Thread Starter hunterhogan

    (@hunterhogan)

    Done uploading. I did not make any changes to any file. Followed the above steps to reproduce the problem. The exact same error, including line numbers. I tried updating the file twice and had the same results.

    Upload a new photograph using upload media drag and drop. Click Edit. Add only the word “Caption” to the caption. Click update. Same error. The change was preserved. http://www.hunterthinks.com/?attachment_id=251

    *sigh*
    In wp-config.php, I changed define('WP_DEBUG', true); back to define('WP_DEBUG', false);.

    Error message is gone. I don’t know if that means the actual problems are gone, but the errors are gone.

    I still don’t understand what happened, and I don’t know if I should be worried about migrating to WordPress. If I were a drinker, then I would call it a day and drink alcohol now.

Viewing 15 replies - 1 through 15 (of 20 total)