I’ve tried with the default theme on WP, and also with another plug-in called Starter Templates but I keep getting this error. “Edit Site” is also not working. I’ve gone back to restore a blank WP site and start over but no matter what I do, it either stays on the loading page forever or gives me the “not found” page. For context, I am using GoDaddy, on a Web Hosting Economy Plan.
What am I doing wrong? Any help at all would be greatly appreciated.
– A disgrustled WP beginner
]]>I’ve tried with the default theme on WP, and also with another plug-in called Starter Templates but I keep getting this error. “Edit Site” is also not working. I’ve gone back to restore a blank WP site and start over but no matter what I do, it either stays on the loading page forever or gives me the “not found” page. For context, I am using GoDaddy, on a Web Hosting Economy Plan.
What am I doing wrong? Any help at all would be greatly appreciated.
– A disgrustled WP beginner
]]>Uncaught ArgumentCountError: Too few arguments to function WP_Widget::__construct(), 0 passed in /home/lanes/public_html/wp-includes/class-wp-widget-factory.php on line 62 and at least 2 expected in /home/lanes/public_html/wp-includes/class-wp-widget.php:163 Stack trace: #0 /home/lanes/public_html/wp-includes/class-wp-widget-factory.php(62): WP_Widget->__construct() #1 /home/lanes/public_html/wp-includes/widgets.php(115): WP_Widget_Factory->register() #2 /home/lanes/public_html/wp-content/themes/lanestone/library/widgets.php(252): register_widget() #3 /home/lanes/public_html/wp-includes/class-wp-hook.php(324): artWidgetsInit() #4 /home/lanes/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #5 /home/lanes/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #6 /home/lanes/public_html/wp-includes/widgets.php(1858): do_action() #7 /home/lanes/public_html/wp-includes/class-wp-hook.php(324): wp_widgets_init() #8 /home/lanes/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #9 /home/lanes/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #10 /home/lanes/public_html/wp-settings.php(643): do_action() #11 /home/lanes/public_html/wp-config.php(96): require_once(‘/home/lanes/pub…’) #12 /home/lanes/public_html/wp-load.php(50): require_once(‘/home/lanes/pub…’) #13 /home/lanes/public_html/wp-blog-header.php(13): require_once(‘/home/lanes/pub…’) #14 /home/lanes/public_html/index.php(17): require(‘/home/lanes/pub…’) #15 {main} thrown in?/home/lanes/public_html/wp-includes/class-wp-widget.php?on line?163
]]>In 2016 it would show only the comment box if you happened to be logged in and if you had no account or not logged in it would show text boxes for Author, Email, and Website.
Now in 2022 it doesn’t seem to know I’m logged in any more and shows the three text boxes.
I know nothing of php other than the basics. My “theme” is one I somehow threw together using another theme as a template.
This is the portion of code that I need help fixing:
<?php if ('open' == $post->comment_status) : ?>
<div class="center-widget-title" id="respond"><?php _e('Leave a Reply'); ?></div>
<div class="center-widget">
<?php if ( get_option('comment_registration') && !$user_ID ) : ?>
<p><a href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php the_permalink(); ?>"><?php _e('logged in'); ?></a> <?php _e('to post a comment'); ?>.</p>
<?php else : ?>
<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
<?php if ( $user_ID ) : ?>
<p><?php _e('Logged in as'); ?> <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a href="<?php echo wp_logout_url() ?>" title="Log out of this account">Logout »</a></p>
<?php else : ?>
<p>
<input type="text"
name="author"
id="author"
value="<?php echo $comment_author; ?>"
size="22"
tabindex="1" />
<label for="author"><small>Name <?php if ($req) echo "(required)"; ?></small></label>
</p>
<p>
<input type="text"
name="email"
id="email"
value="<?php echo $comment_author_email; ?>"
size="22"
tabindex="2" />
<label for="email">
<small>Mail (will not be published) <?php if ($req) echo "(required)"; ?></small>
</label>
</p>
<p>
<input type="text"
name="url"
id="url"
value="<?php echo $comment_author_url; ?>"
size="22"
tabindex="3" />
<label for="url"><small>Website</small></label>
</p>
<?php endif; ?>
<p><textarea name="comment" id="comment" cols="100%" rows="10" tabindex="4"></textarea></p>
<p>
<?php if (function_exists('ajax_comment_preview')) ajax_comment_preview('previewbutton'); ?>
<input name="submit" type="submit" id="submit" tabindex="5" value="<?php _e("Submit Comment"); ?>" />
<input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />
</p>
<div class="entry"><?php if (function_exists('ajax_comment_preview')) ajax_comment_preview('previewarea'); ?></div>
<?php do_action('comment_form', $post->ID); ?>
</form>
<?php if (function_exists('show_manual_subscription_form')) show_manual_subscription_form(); ?>
<?php endif; ?>
</div> <!-- center-widget -->
<?php else : // comments are closed ?>
<!-- If comments are closed. -->
<div class="center-widget-title"><?php _e('Leave a Reply'); ?></div>
<div class="center-widget">
<p class="nocomments"><?php _e('Comments are closed.'); ?><p>
</div> <!-- center-widget -->
<?php endif; ?>
]]>I am using Yoast and I have a report from SEMRush which tells me 198 pages on our site (seems like just the blog pages) have “more than one H1 tag”, but I can’t seem to find that. I’m guessing there is a way to correct this maybe in the theme?
Any help would be awesome.
Thanks!
]]>Also, when I remove the logo from the header area, I’m then not able to upload any header media at all — the header section just goes black.
I’m searched the forums for custom CSS to add to set the header media height, and nothing I’ve tried seems to work. Any help is appreciated – thank you! The website is childrenscampaignfund[dot]org.
]]>I can’t figure out how to change the number of “staff” (it is set to 4) nor how to add more testimonials. I only see options of how to change what is already there on Elementor.
Thank you for your help!
]]>I am happy with my logo size for desktop browsing but it is far too large for mobile browsing.
I understand only some CSS and would appreciate help in understanding how to make the logo smaller for only the mobile browsing.
]]>Thanks in advance
]]>