Support » Plugin: WordPress Review & Structure Data Schema Plugin – Review Schema » КГ/АМ: Fatal error + Parse error

  • Andrews32

    (@andrews32)


    Fatal error: Call to undefined function determine_locale() in /home/u/user/site.com/public_html/wp-content/plugins/review-schema/app/Rtrs.php on line 75.

    My solution (моё решение – костыль):
    //$locale = determine_locale();
    $locale = ‘en_US’;

    PHP: 7.2, WP: latest.

    _________________________

    Parse error:

    Parse error: syntax error, unexpected ‘switch’ (T_SWITCH), expecting identifier (T_STRING) in /home/u/user/site.com/public_html/wp-content/plugins/review-schema/app/Models/Field.php on line 431

    Line 431 is:

    private function switch() {…}

    My solution (моё решение):
    1) /* private function switch(){…} */
    private function switch_(){…}

    2) case ‘switch’:
    // $html .= $this->switch($group);
    $html .= $this->switch_($group);
    _________________________
    Аффтар, выпей йаду! Ты назвал свою функцию именем уже существующей системной функции! И вообще, похоже, не протестировал своё творение перед выпуском для всех! Может, программирование – это не твоё?

    • This topic was modified 8 months ago by Andrews32.
    • This topic was modified 8 months ago by Andrews32.
    • This topic was modified 8 months ago by Andrews32.
    • This topic was modified 8 months ago by Andrews32.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Andrews32

    (@andrews32)

    Notice: Undefined offset: 0 in /home/u/user/site.com/public_html/wp-content/plugins/review-schema/app/Models/Schema.php on line 367

    Thread Starter Andrews32

    (@andrews32)

    Strict Standards: Only variables should be passed by reference in /home/u/user/site.com/public_html/wp-content/plugins/review-schema/app/Models/Review.php on line 250

    Plugin Author RadiusTheme

    (@techlabpro1)

    Hello,

    Please wait we are checking with PHP version 7.2. Will update soon.

    Thanks

    Plugin Author RadiusTheme

    (@techlabpro1)

    Hello,

    Maybe for server related error notice, we tested multiple PC don’t get this bug.

    But I changed all functions that give error notice.

    Please update to the latest version (1.1.12) just released.

    If still get an issue let me know I will fix that.

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘КГ/АМ: Fatal error + Parse error’ is closed to new replies.