Title: PHP 7.3
Last modified: October 15, 2019

---

# PHP 7.3

 *  Resolved [pi1ero](https://wordpress.org/support/users/pi1ero/)
 * (@pi1ero)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/php-7-3-16/)
 * with PHP 7.3 my website is not visible.
    I had to disable the multi-language 
   TranslatePress plugin. Are there a solution? Thanks
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp-7-3-16%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Thread Starter [pi1ero](https://wordpress.org/support/users/pi1ero/)
 * (@pi1ero)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/php-7-3-16/#post-12031861)
 * Log error:
    [proxy_fcgi:error] [pid 18238:tid 139959310685952] [client 93.71.222.241:
   53554] AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught ArgumentCountError:
   Too few arguments to function trp_woo_translate_product_title_added_to_cart(),
   1 passed in /home/web/www.mazzanti.it/www/wp-includes/class-wp-hook.php on line
   286 and exactly 2 expected in /home/web/www.mazzanti.it/www/wp-content/plugins/
   translatepress-multilingual/includes/functions.php:881\nStack trace:\n#0 /home/
   web/www.mazzanti.it/www/wp-includes/class-wp-hook.php(286): trp_woo_translate_product_title_added_to_cart(‘
   The call of nat…’)\n#1 /home/web/www.mazzanti.it/www/wp-includes/plugin.php(208):
   WP_Hook->apply_filters(‘The call of nat…’, Array)\n#2 /home/web/www.mazzanti.
   it/www/wp-content/themes/kreativa/framework/functions/theme-functions.php(1298):
   apply_filters(‘the_title’, ‘The call of nat…’)\n#3 /home/web/www.mazzanti.it/
   www/wp-content/themes/kreativa/template-parts/fullscreen/fullscreen-supersized.
   php(
 *  [Dragos](https://wordpress.org/support/users/dragosvrejiu/)
 * (@dragosvrejiu)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/php-7-3-16/#post-12034608)
 * Hi,
 * This is what is wrong:
 * apply_filters(‘The call of nat…’, Array)\n#2 /home/web/www.mazzanti.it/www/wp-
   content/themes/kreativa/framework/functions/theme-functions.php(1298): apply_filters(‘
   the_title’, ‘The call of nat…’)
 * We’re calling the wp_title hook correctly.
 * This documentation page is incorrect [https://developer.wordpress.org/reference/hooks/wp_title/](https://developer.wordpress.org/reference/hooks/wp_title/).
 * What I think happened is a theme or plugin is applying the filter as per documentation
   and our own filter fails.
 * It should be :
    apply_filters( ‘the_title’, $page->post_title, $page->ID );
 * So please do a compatibility check. Disable plugins one by one and see if you
   still get this error.
 * Let me know how this goes.
 * Best regards,
 *  Thread Starter [pi1ero](https://wordpress.org/support/users/pi1ero/)
 * (@pi1ero)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/php-7-3-16/#post-12035800)
 * This is the theme-functions.php :
 * 1298:
    $thumbnail_title = ”; if (isSet($attachment->post_title)) { $thumbnail_title
   = apply_filters(‘the_title’,$attachment->post_title); } In the theme there is
   a file wpml-config.xml <wpml-config> <admin-texts> <key name=”mtheme_main_logo”/
   > <key name=”mtheme_responsive_logo” /> <key name=”mtheme_preloader_logo” /> 
   <key name=”mtheme_rightclick_disabletext” /> <key name=”mtheme_404_title” /> 
   <key name=”mtheme_read_more” /> <key name=”mtheme_portfolio_singular_refer” /
   > <key name=”mtheme_portfolio_plural_refer” /> <key name=”mtheme_portfolio_link_text”/
   > <key name=”mtheme_portfolio_client_refer” /> <key name=”mtheme_portfolio_skill_refer”/
   > <key name=”mtheme_portfolio_allitems” /> <key name=”mtheme_footer_copyright”/
   > </admin-texts> </wpml-config>
 *  [Dragos](https://wordpress.org/support/users/dragosvrejiu/)
 * (@dragosvrejiu)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/php-7-3-16/#post-12039005)
 * Hello,
 * It should be :
    apply_filters( ‘the_title’, $page->post_title, $page->ID );
 * There are too few arguments in the code :apply_filters(‘the_title’,$attachment-
   >post_title);
 * The ID is missing.
 * Best regards,
 *  Thread Starter [pi1ero](https://wordpress.org/support/users/pi1ero/)
 * (@pi1ero)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/php-7-3-16/#post-12044909)
 * I try with TranslatePress plugin only.
    This is the error:
 * [Sat Oct 19 10:07:32.270513 2019] [:error] [pid 2106:tid 140458481575680] [client
   190.8.66.26:45412] [client 190.8.66.26] ModSecurity: Warning. Pattern match “
   ^[\\\\d.:]+$” at REQUEST_HEADERS:Host. [file “/usr/share/modsecurity-crs/rules/
   REQUEST-920-PROTOCOL-ENFORCEMENT.conf”] [line “793”] [id “920350”] [rev “2”] [
   msg “Host header is a numeric IP address”] [data “137.74.97.120:80”] [severity“
   WARNING”] [ver “OWASP_CRS/3.0.0”] [maturity “9”] [accuracy “9”] [tag “application-
   multi”] [tag “language-multi”] [tag “platform-multi”] [tag “attack-protocol”][
   tag “OWASP_CRS/PROTOCOL_VIOLATION/IP_HOST”] [tag “WASCTC/WASC-21”] [tag “OWASP_TOP_10/
   A7”] [tag “PCI/6.5.10”] [hostname “137.74.97.120”] [uri “/”] [unique_id “XarERF4XBcYAAAg6glIAAASB”]
   [
   Sat Oct 19 10:22:36.364637 2019] [proxy_fcgi:error] [pid 3259:tid 140458332231424][
   client 93.71.222.241:49876] AH01071: Got error ‘PHP message: PHP Fatal error:
   Uncaught ArgumentCountError: Too few arguments to function trp_woo_translate_product_title_added_to_cart(),
   1 passed in /home/web/www.mazzanti.it/www/wp-includes/class-wp-hook.php on line
   286 and exactly 2 expected in /home/web/www.mazzanti.it/www/wp-content/plugins/
   translatepress-multilingual/includes/functions.php:881\nStack trace:\n#0 /home/
   web/www.mazzanti.it/www/wp-includes/class-wp-hook.php(286): trp_woo_translate_product_title_added_to_cart(‘
   The call of nat…’)\n#1 /home/web/www.mazzanti.it/www/wp-includes/plugin.php(208):
   WP_Hook->apply_filters(‘The call of nat…’, Array)\n#2 /home/web/www.mazzanti.
   it/www/wp-content/themes/kreativa/framework/functions/theme-functions.php(1298):
   apply_filters(‘the_title’, ‘The call of nat…’)\n#3 /home/web/www.mazzanti.it/
   www/wp-content/themes/kreativa/template-parts/fullscreen/fullscreen-supersized.
   php(73): kreativa_populate_slide_ui_colors(’89’)\n#4 /home/web/www.mazzanti.it/
   www/wp-includes/template.php(724): require(‘/home/web…’
 *  Thread Starter [pi1ero](https://wordpress.org/support/users/pi1ero/)
 * (@pi1ero)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/php-7-3-16/#post-12045607)
 * This is the complete code of theme_functions.php
 * …
 * // Will be called from slideshow script
    function kreativa_populate_slide_ui_colors(
   $get_slideshow_from_page_id) { // Store slide data for jQuery $filter_image_ids
   = kreativa_get_custom_attachments ( $get_slideshow_from_page_id ); if ($filter_image_ids){
   $slide_counter=0; $last_slide_count = count($filter_image_ids) – 1; echo ‘<ul
   id=”slideshow-data” data-lastslide=”‘.$last_slide_count.'”>’; foreach ( $filter_image_ids
   as $attachment_id) { $attachment = get_post( $attachment_id );
 *  if ( isSet($attachment->ID) ) {
    $fullURI = wp_get_attachment_image_src( $attachment_id,‘
   full’, false ); $fullURI = $fullURI[0];
 *  $thumbnailURI = wp_get_attachment_image_src( $attachment_id, ‘thumbnail’, false);
   
   $thumbnailURI = $thumbnailURI[0];
 *  $thumbnail_title = ”;
    if (isSet($attachment->post_title)) { $thumbnail_title
   = apply_filters(‘the_title’,$attachment->post_title); }
 *  $slide_color = get_post_meta( $attachment->ID, ‘mtheme_attachment_fullscreen_color’,
   true );
    if (!$slide_color) { $slide_color=”bright”;} echo ‘<li class=”slide-‘.
   $slide_counter.'” data-slide=”‘.$slide_counter.'” data-color=”‘.$slide_color.'”
   data-src=”‘.$fullURI.'” data-thumbnail=”‘.$thumbnailURI.'” data-title=”‘.$thumbnail_title.'”
   >‘; $slide_counter++; } } echo ‘‘; } }
 * …
 *  [Dragos](https://wordpress.org/support/users/dragosvrejiu/)
 * (@dragosvrejiu)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/php-7-3-16/#post-12049457)
 * Hello,
 * Since this looks a lot like a conflict with some other code, the first/next recommended
   step is the conflict test:
 * ​​*Briefly* disable all other plugins and enable the default Twenty Nineteen 
   theme. If this fixes the problem, as it probably will, enable everything one 
   by one, checking each time to see when the problem returns.
 * Let me know how this goes.
 * Best wishes ,
 *  Thread Starter [pi1ero](https://wordpress.org/support/users/pi1ero/)
 * (@pi1ero)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/php-7-3-16/#post-12049684)
 * -Disable all plugins
    -I choose theme Twenty Nineteen – OK -I enter one plugin
   at a time (including TranslatePress) – OK -I choose my theme Kreativa (child)–
   does not work -deactivate TranslatePress – OK
 *  Thread Starter [pi1ero](https://wordpress.org/support/users/pi1ero/)
 * (@pi1ero)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/php-7-3-16/#post-12054184)
 * After your last update (1.6.1), everything works perfectly !!
    Thanks

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘PHP 7.3’ is closed to new replies.

 * ![](https://ps.w.org/translatepress-multilingual/assets/icon.svg?rev=3166541)
 * [TranslatePress - Translate Multilingual sites with AI Translation](https://wordpress.org/plugins/translatepress-multilingual/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/translatepress-multilingual/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/translatepress-multilingual/)
 * [Active Topics](https://wordpress.org/support/plugin/translatepress-multilingual/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/translatepress-multilingual/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/translatepress-multilingual/reviews/)

## Tags

 * [PHP 7.3](https://wordpress.org/support/topic-tag/php-7-3/)

 * 9 replies
 * 2 participants
 * Last reply from: [pi1ero](https://wordpress.org/support/users/pi1ero/)
 * Last activity: [6 years, 7 months ago](https://wordpress.org/support/topic/php-7-3-16/#post-12054184)
 * Status: resolved