最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Fatal Error when trying to load Permalinks page on WP admin

programmeradmin3浏览0评论
Closed. This question is off-topic. It is not currently accepting answers.

Questions that are too localized (such as syntax errors, code with restricted access, hacked sites, hosting or support issues) are not in scope. See how do I ask a good question?

Closed 4 years ago.

Improve this question

I'm receiving the below error when trying to access the Permalinks section on the WP admin. The page does not load and shows the error message instead. I cannot understand what this means or what has to be done. Any ideas are appreciated and thanks in advance.

 Fatal error: Uncaught Error: Call to undefined function
 apache_get_modules() in
 /home/customer/www/mydomain/public_html/wp-includes/functions.php:5283
 Stack trace: #0
 /home/customer/www/mydomain/public_html/wp-admin/includes/misc.php(17):
 apache_mod_loaded('mod_rewrite', true) #1
 /home/customer/www/mydomain/public_html/wp-admin/includes/misc.php(46):
 got_mod_rewrite() #2
 /home/customer/www/mydomain/public_html/wp-admin/options-permalink.php(71):
 got_url_rewrite() #3 {main} thrown in
 /home/customer/www/mydomain/public_html/wp-includes/functions.php
 on line 5283
Closed. This question is off-topic. It is not currently accepting answers.

Questions that are too localized (such as syntax errors, code with restricted access, hacked sites, hosting or support issues) are not in scope. See how do I ask a good question?

Closed 4 years ago.

Improve this question

I'm receiving the below error when trying to access the Permalinks section on the WP admin. The page does not load and shows the error message instead. I cannot understand what this means or what has to be done. Any ideas are appreciated and thanks in advance.

 Fatal error: Uncaught Error: Call to undefined function
 apache_get_modules() in
 /home/customer/www/mydomain/public_html/wp-includes/functions.php:5283
 Stack trace: #0
 /home/customer/www/mydomain/public_html/wp-admin/includes/misc.php(17):
 apache_mod_loaded('mod_rewrite', true) #1
 /home/customer/www/mydomain/public_html/wp-admin/includes/misc.php(46):
 got_mod_rewrite() #2
 /home/customer/www/mydomain/public_html/wp-admin/options-permalink.php(71):
 got_url_rewrite() #3 {main} thrown in
 /home/customer/www/mydomain/public_html/wp-includes/functions.php
 on line 5283
Share Improve this question edited Sep 17, 2020 at 18:46 Tom J Nowell 61k7 gold badges79 silver badges148 bronze badges asked Sep 17, 2020 at 10:35 Ayrton SimsAyrton Sims 31 bronze badge 3
  • I downgraded the php version to 7.2 which removed this error on my Siteground Hosting. – Aron Commented Sep 17, 2020 at 15:13
  • You need to contact your hosting provider, this shouldn't happen unless you're using a super old version of WP ( the fix for this was made 13+ years ago ), either that or the apache module is not installed correctly on the server – Tom J Nowell Commented Sep 17, 2020 at 18:45
  • It must be the apache module then as I'm running the latest Wordpress 5.5.1 on PHP 7.3.20. I now downgraded to 7.2.32 and the permalinks page is now showing again. – Ayrton Sims Commented Sep 17, 2020 at 20:39
Add a comment  | 

1 Answer 1

Reset to default 0

The error is related with the Hosting Server PHP Version. So if you are on PHP 7.3.XX try downgrading to 7.2.xx or 7.1.xx and see if that helps!

P.S. I was facing the same issue and had to downgrade to PHP 7.1 to fix it!

发布评论

评论列表(0)

  1. 暂无评论