• Resolved uomopalese

    (@uomopalese)


    Hi, after site migration the plugin throw an error and wordpress is accessible only in recovery mode.

    Deleted the plugin and reinstall, same error.

    Current plugin: Widgets for Google Reviews (version 9.7.1)
    PHP version 8.0.25
    
    
    
    Error Details
    =============
    An error of type E_ERROR was caused in line 631 of the file /home2/wgarageq/public_html/wp-content/plugins/wp-reviews-plugin-for-google/trustindex-plugin.class.php. Error message: Uncaught ArgumentCountError: Too few arguments to function TrustindexPlugin_google::{closure}(), 4 passed and exactly 5 expected in /home2/wgarageq/public_html/wp-content/plugins/wp-reviews-plugin-for-google/trustindex-plugin.class.php:631
    Stack trace:
    #0 [internal function]: TrustindexPlugin_google->{closure}(2, 'fopen(/home2/yb...', '/home2/wgarageq...', 66)
    #1 /home2/wgarageq/public_html/wp-admin/includes/class-wp-filesystem-direct.php(66): fopen('/home2/ybsvilup...', 'wb')
    #2 /home2/wgarageq/public_html/wp-content/plugins/wp-reviews-plugin-for-google/trustindex-plugin.class.php(638): WP_Filesystem_Direct->put_contents('/home2/ybsvilup...', '@font-face{font...', 511)
    #3 /home2/wgarageq/public_html/wp-content/plugins/wp-reviews-plugin-for-google/trustindex-plugin.class.php(552): TrustindexPlugin_google->handleCssFile()
    #4 /home2/wgarageq/public_html/wp-content/plugins/wp-reviews-plugin-for-google/tabs/setup_no_reg_header.php(217): TrustindexPlugin_google->noreg_save_css(true)
    #5 /home2/wgarageq/public_html/wp-content/plugins/wp-reviews-plugin-for-google/tabs/setup_no_reg.php(1): include('/home2/wgarageq...')
    #6 /home2/wgarageq/public_html/wp-content/plugins/wp-reviews-plugin-for-google/settings.php(311): include('/home2/wgarageq...')
    #7 /home2/wgarageq/public_html/wp-admin/admin.php(293): include('/home2/wgarageq...')
    #8 {main}
      thrown
    
Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter uomopalese

    (@uomopalese)

    I just received an automated ( i guess) email:

    Your request to download the reviews of XXXXXXXX (Google page) has been successfully completed but we cannot send it to your site, because it is isolated (for example it is in development environment, localhost).

    I guess this is my case, because the site at the moment is visible oly through IP. I think the problem will go away once the site will be published

    Plugin Support Lídia from Trustindex

    (@liditrudex)

    Hi @uomopalese !

    Let us know if you have issues on the public website!

    Feel free to write us, if you need further assistanc,

    Trustindex

    Thread Starter uomopalese

    (@uomopalese)

    Hi, in the end to solve the problem I had to manually delete the plugin tablewp_trustindex_google_reviews from the database and reinstall the plugin.

    Hope this helps.

    • This reply was modified 2 years ago by uomopalese.
    Kilian Haas

    (@kilian089)

    Hey @uomopalese @liditrudex , unfortunatly even after doing that my website crashes when I try to reconfigure the plugin after reinstalling and activating it. It always crashes after the third step in the configuration.

    The website is always then completly unusable because of a “critical wordpress error”

    My Logfile:

    [23-Mar-2023 08:30:36 UTC] PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function TrustindexPlugin_google::{closure}(), 4 passed and exactly 5 expected in /www/htdocs/w01dd92f/monsec-webdesign.de/app/wp-content/plugins/wp-reviews-plugin-for-google/trustindex-plugin.class.php:642
    Stack trace: 0 [internal function]: TrustindexPlugin_google->{closure}(2, 'fopen(/mnt/web2…', '/www/htdocs/w01…', 66) 1 /www/htdocs/w01dd92f/monsec-webdesign.de/app/wp-admin/includes/class-wp-filesystem-direct.php(66): fopen('/mnt/web207/a0/…', 'wb') 2 /www/htdocs/w01dd92f/monsec-webdesign.de/app/wp-content/plugins/wp-reviews-plugin-for-google/trustindex-plugin.class.php(649): WP_Filesystem_Direct->put_contents('/mnt/web207/a0/…', '@font-face{font…', 511) 3 /www/htdocs/w01dd92f/monsec-webdesign.de/app/wp-content/plugins/wp-reviews-plugin-for-google/trustindex-plugin.class.php(563): TrustindexPlugin_google->handleCssFile() 4 /www/htdocs/w01dd92f/monsec-webdesign.de/app/wp-content/plugins/wp-reviews-plugin-for-google/tabs/setup_no_reg_header.php(219): TrustindexPlugin_google->noreg_save_css(true) 5 /www/htdocs/w01dd92f/monsec-webdesign.de/app/wp-content/plugins/wp-reviews-plugin-for-google/tabs/setup_no_reg.php(1): include('/www/htdocs/w01…') 6 /www/htdocs/w01dd92f/monsec-webdesign.de/app/wp-content/plugins/wp-reviews-plugin-for-google/settings.php(311): include('/www/htdocs/w01…') 7 /www/htdocs/w01dd92f/monsec-webdesign.de/app/wp-admin/admin.php(293): include('/www/htdocs/w01…') 8 {main} thrown in /www/htdocs/w01dd92f/monsec-webdesign.de/app/wp-content/plugins/wp-reviews-plugin-for-google/trustindex-plugin.class.php on line 642
    Thread Starter uomopalese

    (@uomopalese)

    Hi, also check that the $table_prefix = 'wp_'; in the wp-config.php match the table prefix in the database.

    As a last resort download and edit the database.sql file and delete any trustindex occurrence, basically in the wp-option and wp-post tables and all the various ALTER TABLE at the end of the file and the whole table wp_trustindex_google_reviews itself. Upload again.

    Plugin Support Lídia from Trustindex

    (@liditrudex)

    Please use the newest version of the plugin!

    Let us know if you experience any issues!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Plugin Error after site migration’ is closed to new replies.