Title: plugin cause 500 Internal Server Error
Last modified: April 30, 2023

---

# plugin cause 500 Internal Server Error

 *  [schmekbu](https://wordpress.org/support/users/kaklappen/)
 * (@kaklappen)
 * [3 years ago](https://wordpress.org/support/topic/plugin-cause-500-internal-server-error-2/)
 * hey there
 * The plugin cause a 500 error.
 * Everything is up to date
 * did some research
 * its php 8
 * logs showing error coming from plugins/w3-total-cache
   Unsupported operand types:
   string * int in wp-includes/functions.php:75″so what is that?also discussing 
   here:[https://wordpress.org/support/topic/plugin-cause-500-internal-server-error/](https://wordpress.org/support/topic/plugin-cause-500-internal-server-error/)
    -  This topic was modified 3 years ago by [schmekbu](https://wordpress.org/support/users/kaklappen/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fplugin-cause-500-internal-server-error-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [3 years ago](https://wordpress.org/support/topic/plugin-cause-500-internal-server-error-2/#post-16700908)
 * Hello [@kaklappen](https://wordpress.org/support/users/kaklappen/)
 * Thank you for reaching out and I am happy to assist you with this.
 * Can you please share the entire error in the error log? Does the issue persist
   if you temporarily disable W3 Total Cache?
 * Thanks!
 *  Thread Starter [schmekbu](https://wordpress.org/support/users/kaklappen/)
 * (@kaklappen)
 * [3 years ago](https://wordpress.org/support/topic/plugin-cause-500-internal-server-error-2/#post-16703502)
 * error is gone after deactivating w3 total cache
 * log
 * PHP Fatal error: Uncaught TypeError: Unsupported operand types: string * int 
   in /var/www/vaegabond.com/wp-includes/functions.php:75″
   Stack trace:”
 * **0 /var/www/vaegabond.com/wp-includes/functions.php(179): current_time(‘timestamp’,
   false)”**
 * **1 /var/www/vaegabond.com/wp-content/plugins/w3-total-cache/Generic_Plugin.php(
   471): date_i18n(‘Y-m-d H:i:s’)”**
 * **2 [internal function]: W3TC\Generic_Plugin->ob_callback(‘\t<!doctype html…’,
   9)”**
 * **3 {main}”**
 * thrown in /var/www/vaegabond.com/wp-includes/functions.php on line 75″
 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [3 years ago](https://wordpress.org/support/topic/plugin-cause-500-internal-server-error-2/#post-16704710)
 * Hello [@kaklappen](https://wordpress.org/support/users/kaklappen/)
 * Thank you for your feedback, and for your patience as I was trying to check this
   and replicate it. This is a `date_i18n` call. and it was there forever
 * The error is called in yorur functions.php:75 and functions.php(179):
 * In /wp-includes/functions.php it should be `$timestamp = current_time( 'timestamp',
   $gmt );`
 * Can you please check and share lines 178-182 of your /wp-includes/functions.php
 * Thanks!
 *  Thread Starter [schmekbu](https://wordpress.org/support/users/kaklappen/)
 * (@kaklappen)
 * [3 years ago](https://wordpress.org/support/topic/plugin-cause-500-internal-server-error-2/#post-16705985)
 * /wp-includes/functions.php
 * lines 176 – 182
 *     ```wp-block-code
       	// If timestamp is omitted it should be current time (summed with offset, unless $gmt is true).
       	if ( ! is_numeric( $timestamp ) ) {
       		// phpcs:ignore WordPress.DateTime.CurrentTimeTimestamp.Requested
       		$timestamp = current_time( 'timestamp', $gmt );
       	}
   
       	/*
       ```
   
 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [3 years ago](https://wordpress.org/support/topic/plugin-cause-500-internal-server-error-2/#post-16711547)
 * Hello [@kaklappen](https://wordpress.org/support/users/kaklappen/)
 * Thank you for your patience.
 * I was not able to replicate the problem, so this must be related to the WordPress
   itself or the Localization issue.
 * Can you please share when you started to experience this problem? Meaning, if
   the W3TC was enabled before this issue started to occur, and if you made any 
   changes on the server or website after which the problem started.
 * Thanks!
 *  Thread Starter [schmekbu](https://wordpress.org/support/users/kaklappen/)
 * (@kaklappen)
 * [3 years ago](https://wordpress.org/support/topic/plugin-cause-500-internal-server-error-2/#post-16713155)
 * Using W3TC for years. Was working fine. Using social link pages for years, also
   working fine.
 * read more:
 * [https://wordpress.org/support/topic/plugin-cause-500-internal-server-error/#post-16699326](https://wordpress.org/support/topic/plugin-cause-500-internal-server-error/#post-16699326)
 * No idea why this is happening. I did´t change anything, just updating plugins
   from time to time.
 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [3 years ago](https://wordpress.org/support/topic/plugin-cause-500-internal-server-error-2/#post-16714587)
 * Hello [@kaklappen](https://wordpress.org/support/users/kaklappen/)
 * Thank you for your feedback.
   I saw the conversation in the link you shared, however,
   it would be helpful if you cloud share at which point the issue started to occur
   and what actions were taken prior to the occurrence of the problem.
 * Thanks!
 *  Thread Starter [schmekbu](https://wordpress.org/support/users/kaklappen/)
 * (@kaklappen)
 * [3 years ago](https://wordpress.org/support/topic/plugin-cause-500-internal-server-error-2/#post-16715307)
 * As I said, I didn´t change anything. Also I dont know when it happend. I guess
   within the last 2 Month.
 * Al I do is updating plugins, I didn´t change anything or installed new plugins.
 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [3 years ago](https://wordpress.org/support/topic/plugin-cause-500-internal-server-error-2/#post-16723739)
 * Hello [@kaklappen](https://wordpress.org/support/users/kaklappen/)
 * Thank you for your feedback.
 * Can you please try disabling other plugins one by one and keeping the W3TC enabled
   to see if there some compatibility issues?
 * Thanks!
 *  Thread Starter [schmekbu](https://wordpress.org/support/users/kaklappen/)
 * (@kaklappen)
 * [3 years ago](https://wordpress.org/support/topic/plugin-cause-500-internal-server-error-2/#post-16725559)
 * done
 * didn´t change anything, in the end there was just W3TC and [Social Link Pages](https://wordpress.org/plugins/social-link-pages/)
   which is responsible to create vaegabond.com/links page
 * no changes, problem is only related to W3TC
 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [3 years ago](https://wordpress.org/support/topic/plugin-cause-500-internal-server-error-2/#post-16733379)
 * Hello [@kaklappen](https://wordpress.org/support/users/kaklappen/)
 * Thank you for your feedback.
 * Can you please completely remove and re-install W3 Total Cache?
    1. Purge Cache
    2. Deactivate and Delete Plugin
    3. Check .htaccess File (make backup)
       W3TC will create many directives in .htaccess
       file to control the caching behavior. Each section will start and end with comments
       like “#BEGIN W3TC Page Cache core” and “#END W3TC Page Cache core”.Ensure that
       no residual entries are left over in your .htaccess file after deleting the 
       plugin.Delete wp-content files and folders
    4. Delete wp-content files and folders
       – cache folder– w3tc-config folder – object-
       cache.php (if exists)– advanced-cache.php (if exists)– db.php (if exists)– upgrade
       folder– delete w3-total-cache folder in wp-content/plugins/ (if exists)
    5. Delete Cached Files from CDN (if using CDN)Besides deleting all the relevant
       files, if you use CDN then ensure to purge the cached content from your CDN.
       This is necessary when you enabled minify option in W3TC settings. You should
       delete the minified and combined scripts and CSS files from your CDN server 
       to avoid the site breaking on the browser.
    6. Go to your wp dashboard and re-install W3 Total Cache
 * Let me know if it helps!
 *  Thread Starter [schmekbu](https://wordpress.org/support/users/kaklappen/)
 * (@kaklappen)
 * [2 years, 12 months ago](https://wordpress.org/support/topic/plugin-cause-500-internal-server-error-2/#post-16778264)
 * Thanks for instructions.
 * I did follow exactly what you wrote. No changes. Same issue
 *  Thread Starter [schmekbu](https://wordpress.org/support/users/kaklappen/)
 * (@kaklappen)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/plugin-cause-500-internal-server-error-2/#post-16817172)
 * [@vmarko](https://wordpress.org/support/users/vmarko/) any news? 🙂
 *  Thread Starter [schmekbu](https://wordpress.org/support/users/kaklappen/)
 * (@kaklappen)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/plugin-cause-500-internal-server-error-2/#post-16896778)
 * [@vmarko](https://wordpress.org/support/users/vmarko/) any news? 🙂
 * can you please fix this?

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

The topic ‘plugin cause 500 Internal Server Error’ is closed to new replies.

 * ![](https://ps.w.org/w3-total-cache/assets/icon-256x256.png?rev=1041806)
 * [W3 Total Cache](https://wordpress.org/plugins/w3-total-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/w3-total-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/w3-total-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/w3-total-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/w3-total-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/w3-total-cache/reviews/)

## Tags

 * [500 error](https://wordpress.org/support/topic-tag/500-error/)
 * [fatal error](https://wordpress.org/support/topic-tag/fatal-error/)
 * [not working](https://wordpress.org/support/topic-tag/not-working/)

 * 14 replies
 * 2 participants
 * Last reply from: [schmekbu](https://wordpress.org/support/users/kaklappen/)
 * Last activity: [2 years, 10 months ago](https://wordpress.org/support/topic/plugin-cause-500-internal-server-error-2/#post-16896778)
 * Status: not resolved