hunterhogan
Forum Replies Created
-
Forum: Plugins
In reply to: [Smart Layers by AddThis] "Warning: array_key_exists() expects…" errorFor 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?
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. 🙂
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.
Forum: Plugins
In reply to: [Slider CAPTCHA] installing 1.3.2 creates same fatal error as 1.3.0Meh, 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 😉
Forum: Plugins
In reply to: [Slider CAPTCHA] 1.3 creates fatal error; breaks entire siteThanks. 1.3.1 works.
Forum: Plugins
In reply to: [Slider CAPTCHA] 1.3 creates fatal error; breaks entire siteI 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.”
Forum: Themes and Templates
In reply to: Limiting the scope of unknown/dynamic CSS to a specificA 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.Forum: Plugins
In reply to: [Slider CAPTCHA] Fast turn around, but… fatal errorOk, here goes.
- I had v1.1.0
- I went to WP admin page, found Slider CAPTCHA 1.1.1 and clicked install now. [OK]
- “Successfully installed the plugin Slider CAPTCHA 1.1.1.”
- click Activate Plugin
- “Plugin activated.”
- No errors! Yeah!
- Click Setting/Slider Capthca
- All of my settings are preserved
- 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!
Forum: Themes and Templates
In reply to: category.php, $wpdb Loop, I can't find category variablesSome notes
- Thank you for your help
- The code that included print_r() was especially awesome
- I’ve accepted that I cannot rely on my HTML/CSS/general programming knowledge if I want to do sophisticated things in WordPress, therefore I will be reading https://stackoverflow.com/questions/3737139/reference-what-does-this-symbol-mean-in-php and http://www.php.net/manual/en/langref.php
- I made significant progress on these specific issues, but did not resolve them
- “Real life” has intervened and I must lower the priority of this issue
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,
HunterForum: Plugins
In reply to: [Slider CAPTCHA] Changing icon setting won't saveThanks for fixing the problem so quickly. It does save the icons now.
Forum: Themes and Templates
In reply to: category.php, $wpdb Loop, I can't find category variablesAwesome. Yes, I think this is what I am missing. After more coffee, I will report back 🙂
Forum: Themes and Templates
In reply to: category.php, $wpdb Loop, I can't find category variablesI 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/ardcCode 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” />
Forum: Themes and Templates
In reply to: category.php, $wpdb Loop, I can't find category variablesTHANK 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.)
Forum: Plugins
In reply to: [Smart Layers by AddThis] "Warning: array_key_exists() expects…" errorI 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
Forum: Fixing WordPress
In reply to: Notice: Undefined index & Warning: Cannot modify header informationDone 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 changeddefine('WP_DEBUG', true);back todefine('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.