Get WPFTS Pro today with 25% discount!

Wordpress has technical problem message


  • Hi,

    Today when posting in our wordpress the admin account has received an email warning about a problem with this plugin:

    WordPress versión 5.4.4
    Tema actual: Avada (versión 6.2.2)
    Plugin actual: WP Fulltext Search Pro (versión 2.39.132)
    PHP versión 7.3.25
    
    Detalles del error
    ==================
    Se ha producido un error del tipo E_ERROR en la línea 121 del archivo /var/www/vhosts/advanto.net/sitte.advanto.net/wp-content/plugins/fulltext-search-pro/extractors/textmillio.php. Mensaje de error: Uncaught Error: Cannot use object of type WP_Error as array in /var/www/vhosts/advanto.net/sitte.advanto.net/wp-content/plugins/fulltext-search-pro/extractors/textmillio.php:121
    Stack trace:
    #0 /var/www/vhosts/advanto.net/sitte.advanto.net/wp-content/plugins/fulltext-search-pro/includes/wpfts_core.php(1012): WPFTS_Extract_TextMill('/var/www/vhosts...', 'application/pdf')
    #1 /var/www/vhosts/advanto.net/sitte.advanto.net/wp-content/plugins/fulltext-search-pro/includes/wpfts_core.php(1035): WPFTS_Core->try_extractor('textmill', '/var/www/vhosts...', 'application/pdf')
    #2 /var/www/vhosts/advanto.net/sitte.advanto.net/wp-content/plugins/fulltext-search-pro/includes/wpfts_core.php(791): WPFTS_Core->index_extract_text('/var/www/vhosts...', 'application/pdf')
    #3 /var/www/vhosts/advanto.net/sitte.advanto.net/wp-content/plugins/fulltext-search-pro/includes/wpfts_core.php(891): WPFTS_Core->getCachedAttachmentContent(291, false)
    #4 /var/www/vhosts/advanto.net/sitte.advanto.net/wp-content/plugins/fulltext-search-pro/inclu
    

    And now the search is not showing the last pdf files uploaded.
    Any help would be appreciated.
    Thanks.


  • Hi @advanto
    First of all, please check if you have a valid license and there are no errors at the Licensing tab.

    Another thing, you may be blocked access to the textmill.io domain from inside your network (this problem often happens if your website is local). The administrator of your network should help with this problem.

    You also may know which exact error you have if you open any file in WP Media Library using Edit Attachment and click the "Reindex" button on that page. Please notice: how much time it spends to reindex this exact document (time longer than 1 minute may mean that you have no access to textmill.io from inside your network). Also in case the error happens, you will see the message below.

    Please let me know what you investigated out to let me propose further steps.

    Thanks!


  • Hi @epsilonadmin

    Thanks for your support.
    First the license we have is Active.
    Second, this web is published so this is not in local machine
    Third, since yesterday we have continue publishing documents and some of them are right indexed and others not.
    In the case that the document is not indexed, wordpress does not show its preview.
    If we try to reindex any of the documents not indexed we can see in console browser there are a 500 error code.
    The lines of error log for a reindex attempt are:

    [Tue Jan 19 09:25:59.628193 2021] [fcgid:warn] [pid 6233:tid 140198847399680] (32)Broken pipe: [client 185.222.150.225:54502] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function, referer: https://sitte.advanto.net/wp-admin/post.php?post=307&action=edit
    [Tue Jan 19 09:26:18.738949 2021] [fcgid:warn] [pid 29596:tid 140198771865344] [client 185.222.150.225:54924] mod_fcgid: stderr: PHP Fatal error:  Uncaught Error: Cannot use object of type WP_Error as array in /var/www/vhosts/advanto.net/sitte.advanto.net/wp-content/plugins/fulltext-search-pro/extractors/textmillio.php:121, referer: https://sitte.advanto.net/wp-admin/post.php?post=307&action=edit
    [Tue Jan 19 09:26:18.738988 2021] [fcgid:warn] [pid 29596:tid 140198771865344] [client 185.222.150.225:54924] mod_fcgid: stderr: Stack trace:, referer: https://sitte.advanto.net/wp-admin/post.php?post=307&action=edit
    [Tue Jan 19 09:26:18.738991 2021] [fcgid:warn] [pid 29596:tid 140198771865344] [client 185.222.150.225:54924] mod_fcgid: stderr: #0 /var/www/vhosts/advanto.net/sitte.advanto.net/wp-content/plugins/fulltext-search-pro/includes/wpfts_core.php(1012): WPFTS_Extract_TextMill('/var/www/vhosts...', 'application/pdf'), referer: https://sitte.advanto.net/wp-admin/post.php?post=307&action=edit
    

    Hope this information help to understand what is the issue.


  • Hi @advanto

    I sent you a newer version of WPFTS Pro which should have this issue fixed.
    Please install it and try to reindex one attachment. If it will be successful, then the problem is over. If no - I will need to make further research on your issue.

    Please notice the error message in the Reindex block on the Edit Attachment page.

    Thanks!


  • Hi @epsilonadmin ,

    The new version has worked right.
    Thank you!