sjsworks
Forum Replies Created
-
Forum: Plugins
In reply to: [Yoast SEO] class-frontend.php on line 406This worked for me
Line 406:
$post->post_date = sprintf( "%04d-%02d-%02d 00:00:00", get_query_var( 'year' ), get_query_var( 'monthnum' ), get_query_var( 'day' ) );
Change to
if (is_object( $post)){{$post->post_date = sprintf( "%04d-%02d-%02d 00:00:00", get_query_var( 'year' ), get_query_var( 'monthnum' ), get_query_var( 'day' ) ); }
Forum: Plugins
In reply to: [Yoast SEO] php warning on php 5.4This worked for me
Line 406:
$post->post_date = sprintf( "%04d-%02d-%02d 00:00:00", get_query_var( 'year' ), get_query_var( 'monthnum' ), get_query_var( 'day' ) );
Change to
if (is_object( $post)){{$post->post_date = sprintf( "%04d-%02d-%02d 00:00:00", get_query_var( 'year' ), get_query_var( 'monthnum' ), get_query_var( 'day' ) ); }
That sounds about right, there is no major upgrade and I cannot switch themes right now, but I will bring this to them, they should know there are problems, your plugin is pretty major.
Figured it out! When i uncheck Enable AJax style subscription form, the ticker works again. Simple Modal works as well. Not sure what is going on, but I hope it helps you. Thanks for the plugin, it’s great!
I have tried that, but to demonstrate I set it up with the plugin, and Ad Inserter deleted. Perhaps you could check it out? This only started after I updated to 3.5, before then the News Ticker was working fine. Incidentally, the news ticker isn’t the only thing that breaks when I enable S2, SimpleModalLogin, no longer works as well.
I was not using the widget, I was running this code in Ad Inserter
<div style="width: 100%;"> <div style=" padding: 1px 2px; border:1px solid black;background-color:black; "> <form action=https://www.socialjusticesolutions.org/subscribe/ method="post" accept-charset="utf-8" id="loggedout-follow"> <p style="color:white;"><b>Have SJS posts emailed to you twice daily. Just fill in you're email address below.</b></p> <p> <input type="text" name="email" id="s2email" style="width: 75%; padding: 1px 2px; border:2px solid blue;" value="Enter email address" onfocus='this.value=(this.value=="Enter email address") ? "" : this.value;' onblur='this.value=(this.value=="") ? "Enter email address" : this.value;' id="loggedout-follow-field"/> </p> <input type="hidden" name="ip" value="69.118.185.81"> <p id='bsub-subscribe-button'> <input type="submit" name="subscribe" value="Subscribe!" /> </p> </form> </div> </div>
When I disable Ad Inserter I still have the same error.