Join the Soledad Facebook Users Group here
for Share, assistance, discussion, and Updates related to Soledad WordPress Theme.

If you can't create a new ticket - you can send us an email via our contact form and we will get back to you.

Okay
  Public Ticket #1698699
a error of post - post-template.php on line 284​
Closed

Comments

  • Wings_Li started the conversation

    The test site got the following error:

    http://xxxxx.com/index.php/2018/08/31/hello-world/

    Warning: count(): Parameter must be an array or an object that implements Countable in /www/wwwroot/xxxxx.com/wp-includes/post-template.php on line 284

    Use other theme without this error

    linux+nginx+mysql+php

    PHP 7.2

    wordpress 4.9.8

  •  501
    Penci replied

    Hi,

    Please send me:

    - Your admin url

    - Your admin account ( username and password )

    - Your FTP account ( include FTP host, FTP username, FTP password ) - or your hosting account.

    In a private reply.

    I will check it help you.

    Best Regards,

    PenciDesign

  •   Wings_Li replied privately
  •   Wings_Li replied privately
  •  501
    Penci replied

    Hi,

    I checked on your site.

    It's small issue on our code. I fixed this issue on your site. You can check it again on your site.

    I added more this fixed to next update of PenNews.


    Best Regards,

    PenciDesign

  •   Wings_Li replied privately
  •  501
    Penci replied

    Hi,

    Yeah, Please modify  the code in pennews/inc/json-schema-validar.php file.

    On that file on line 212, replace this code: 

    $post_excerpt = $post->post_excerpt ? $post->post_excerpt : penci_content_limit( penci_excerpt_length(), '...', false );
    

    to

    $post_excerpt = $post->post_excerpt ? $post->post_excerpt : '';


    Please check this image : http://prntscr.com/kqe69b

    Don't worry about this fix. I added this fixed to next update of PenNews, After update  it won't lose


    Best Regards

    PenciDesign

  •   Wings_Li replied privately
  •  2,700
    PenciDesign replied

    Hi,

    You can check this guide to find what's your purchased code.

    At one moment, you just can use one purchased code for a website.

    So, if you move your site to main domain, please remove the theme on test domain first before activate the theme on main domain.


    Best Regards,

    PenciDesign