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

templates - Unable to access wordpress page

programmeradmin3浏览0评论

Website link: /

error message:

Parse error: syntax error, unexpected '[' in /home/belmont.perth.anglican/htdocs/wp-content/plugins/photo-gallery/framework/WD_BWG_Theme.php on line 1092

Hi, i am new to wordpress. The page was working for a few months. Recently receive this error message. Does anyone know how to reset the template for the page. i dont mind starting from zero. it is for a church website? thanks

cheers angeline

Website link: http://belmont.perth.anglican/

error message:

Parse error: syntax error, unexpected '[' in /home/belmont.perth.anglican/htdocs/wp-content/plugins/photo-gallery/framework/WD_BWG_Theme.php on line 1092

Hi, i am new to wordpress. The page was working for a few months. Recently receive this error message. Does anyone know how to reset the template for the page. i dont mind starting from zero. it is for a church website? thanks

cheers angeline

Share Improve this question edited Apr 2, 2020 at 7:24 Chetan Vaghela 2,4084 gold badges10 silver badges16 bronze badges asked Apr 2, 2020 at 1:41 Angie ChiaAngie Chia 1 1
  • Hi fellow West Australian. I checked if your wp-admin was available for login and it wasn't due to the error. Do you have access to the back-end database through a tool such phpmyadmin or similar. You might have to disable the photo gallery plugin manually. Junaid's answer should also get you going again. – Admiral Noisy Bottom Commented Apr 2, 2020 at 3:11
Add a comment  | 

1 Answer 1

Reset to default 0

There's an error in the plugin Photo Gallery that your site is using. In order to fix this, you'll have to deactivate or delete this plugin. In order to deactivate or delete this plugin, please follow the following steps:

  1. Log in to your website's cPanel or use FTP to access your website's files.
  2. Navigate to /wp-content/plugins/
  3. Look for directory called photo-gallery and rename it to something else.

Now, that faulty plugin will be deactivated and your website should work properly considering nothing else is broken.

To get back the gallery plugin, I recommend you backup and delete the directory you just renamed. Then go to /wp-admin of your website > Plugins > New and search for "Photo Gallery by 10Web". Install the plugin with title "Photo Gallery by 10Web – Mobile-Friendly Image Gallery" and you should have your gallery plugin back.

While doing so, I recommend you update all the plugins and the core WordPress while you are at it. To do so:

  1. Backup your website.
  2. Go to /wp-admin/ > Dashboard > Updates to update WordPress, plugins and themes.

I hope this will solve your issues and if you have any questions regarding this solution, you can ask in comments to this answer.

发布评论

评论列表(0)

  1. 暂无评论