Home Forums Theme Support Dokan Site crash & parse error after update

This topic is: not resolved

This topic contains 35 replies, has 2 voices, and was last updated by  mojomo 3 years, 9 months ago.

Viewing 15 posts - 1 through 15 (of 36 total)
  • Author
    Posts
  • #43636

    mojomo
    Member
    Post count: 56

    Hi, I tried to update to the latest Dokan version, but it crashed my site. I get a blank screen and this error message:

    Parse error: syntax error, unexpected ‘||' (T_BOOLEAN_OR), expecting ‘)' in /www/htdocs/w011c96d/boobiebazaar/wp-content/plugins/dokan/includes/functions.php on line 1607

    Any advice?

    #43651

    towhid
    Participant
    Post count: 4505

    Hello Mojomo,

    Please open dokan/includes/functions.php and go to line no 1607 and replace below line of code and let me know the result.

    if ( !isset( $_GET['product_search_name'] ) || empty( $_GET['product_search_name'] ) || ! isset( $_POST['dokan_product_search_nonce'] ) || ! wp_verify_nonce( $_POST['dokan_product_search_nonce'], 'dokan_product_search' ) ) {

    Thank you ๐Ÿ™‚

    #43797

    mojomo
    Member
    Post count: 56

    I tried a new update today. Seems like you changed something, at least the page is not going blank, which is a progress. However, I am facing new issues in the frontend now. The code in the functions.php is the same as you posted, but it extends over two lines and for some reason the second line isn't numbered. So it starts out with line 1607, then the code continues in the line below, but this line has no number, then the following line is 1608. There are several lines in this file that are not numbered. Could this cause problems?

    #43813

    towhid
    Participant
    Post count: 4505

    Hello Mojomo,

    We have already fixed those error and pushed to server. Hope there will be no backend and frontend error. Can you please download the version [2.2.1] and let me know the result.

    Thank you ๐Ÿ™‚

    #43893

    mojomo
    Member
    Post count: 56

    I installed version 2.2.1 yesterday and described the result above. The unnumbered lines might be causing the issues, but I don't know. I exchanged the functions.php again. All lines are numbered before the upload, but once it's on my server there are blanks inbetween as described above. I don't know how this is even possible. Unfortunately, the new upload didn't solve my frontend problems (crashed dashboard column).

    #43957

    towhid
    Participant
    Post count: 4505

    Please provide your login details by using this form: http://wedevs.com/provide-login-details/. I will have a look what is going wrong.

    Thank you ๐Ÿ™‚

    #44064

    mojomo
    Member
    Post count: 56

    ok, done. thanks for checking.

    #44158

    towhid
    Participant
    Post count: 4505

    Hello Mojomo,

    I can not able to access the File Server through the FTP details you had sent to me. Can you please check yourself and send me again the correct details.

    Thank you ๐Ÿ™‚

    #44167

    mojomo
    Member
    Post count: 56
    This reply has been marked as private.
    #44202

    towhid
    Participant
    Post count: 4505

    Hello Mojomo,

    I did not need to visit your provider because I can now login to your site backend with the details you had provided to me. But I did not notice any error you have mentioned in the earlier post. Can you please download Dokan Version[2.2.2]. Even though if you have any error in current Dokan version but to update a new version which can save you from existing error and let me know the result.

    Thank you ๐Ÿ™‚

    #44210

    mojomo
    Member
    Post count: 56

    Hello. I updated to the latest version (2.2.2), but the problem is still there. When you visit my website, go to Bazaar > Dashboard and you will see what I mean. Thank you.

    #44211

    towhid
    Participant
    Post count: 4505

    Hello Mojomo,

    Can you please send me a screenshot with mark down the area where you get the error. It will help me to diagnosis the error and find out a solution.

    Thank you ๐Ÿ™‚

    #44215

    mojomo
    Member
    Post count: 56

    I responded to your email. Did you receive it?

    #44217

    towhid
    Participant
    Post count: 4505

    I did not receive any email. Can you please let me know which email you have respond? Tell me the Email ID.

    Thank you ๐Ÿ™‚

    #44220

    mojomo
    Member
    Post count: 56
Viewing 15 posts - 1 through 15 (of 36 total)

The topic ‘Site crash & parse error after update’ is closed to new replies.