Hi Jude,
I guess your server is using older version of PHP that does not support some new object functions. But do not worry, just you need to do a bit of change in the plugin code, may e the issue would get resolved
Go to your admin panel => Plugins => Editor => on the right top select Smooth Slider => open smooth-slider.php => Find the below code (near the bottom of the file, line no 1392 - 1395):-
- Code: Select all
if ( in_array($post->ID, $slider_arr) ) {
$count++;
echo '<tr' . ($count % 2 ? ' class="alternate"' : '') . '><td><strong>' . $post->post_title . '</strong></td><td>By ' . get_userdata($post->post_author)->display_name . '</td><td>' . date('l, F j. Y',strtotime($post->post_date)) . '</td><td><input type="checkbox" name="slider_posts[' . $post->ID . ']" value="1" /></td></tr>';
}
Replace it completely by
- Code: Select all
if ( in_array($post->ID, $slider_arr) ) {
$count++;
$sslider_author = get_userdata($post->post_author);
$sslider_author_dname = $sslider_author->display_name;
echo '<tr' . ($count % 2 ? ' class="alternate"' : '') . '><td><strong>' . $post->post_title . '</strong></td><td>By ' . $sslider_author_dname . '</td><td>' . date('l, F j. Y',strtotime($post->post_date)) . '</td><td><input type="checkbox" name="slider_posts[' . $post->ID . ']" value="1" /></td></tr>';
}
Take care that you replace only the above code, and do not mess up with other code like "}" and so on.
Please post me back in case it does not work or you have an issue with changing the code. Thanks for your patience.
Regards,