Title: Can&#8217;t activate, Parse Error
Last modified: February 11, 2026

---

# Can’t activate, Parse Error

 *  Resolved [kayhda](https://wordpress.org/support/users/kayhda/)
 * (@kayhda)
 * [3 months, 2 weeks ago](https://wordpress.org/support/topic/cant-activate-parse-error-3/)
 * I am getting the following error when trying to activate the plugin:
 * **_Parse error: syntax error, unexpected ‘const’ (T\_CONST), expecting variable(
   T\_VARIABLE) in /home/hdany\_com/public\_html/subdomains/support.hdanywhere.com/
   wp-content/plugins/export-all-urls/classes/constants.php on line 8_**
 * I get the same error message even with all other plugins disabled.
 * WP version: 3.8.1
   PHP Version: 5.6.40

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

 *  Plugin Author [Atlas Gondal](https://wordpress.org/support/users/atlas_gondal/)
 * (@atlas_gondal)
 * [3 months, 2 weeks ago](https://wordpress.org/support/topic/cant-activate-parse-error-3/#post-18819246)
 * Hi [@kayhda](https://wordpress.org/support/users/kayhda/),
 * The error is because of some compatibility issues between the older version. 
   Please download the last compatible version from [this link](http://downloads.wordpress.org/plugin/export-all-urls.4.6.zip)
   and it should work fine in your environment.
 * Let me know if there is any other issue.
 * Thanks
 *  Thread Starter [kayhda](https://wordpress.org/support/users/kayhda/)
 * (@kayhda)
 * [3 months, 2 weeks ago](https://wordpress.org/support/topic/cant-activate-parse-error-3/#post-18819882)
 * Hi [@atlas_gondal](https://wordpress.org/support/users/atlas_gondal/),
 * Thank you for the tip – I uninstalled and installed the last compatible version
   linked above, and that has let me activate the plugin, but now when I go to Tools
   > Export All URLs, I get a blank page. I wonder if our wordpress version is too
   old maybe?
 * Thanks
 *  Plugin Author [Atlas Gondal](https://wordpress.org/support/users/atlas_gondal/)
 * (@atlas_gondal)
 * [3 months ago](https://wordpress.org/support/topic/cant-activate-parse-error-3/#post-18831996)
 * [@kayhda](https://wordpress.org/support/users/kayhda/) sorry for the late response.
   
   You are right, the version of the wordpress is too old and there could be some
   other issues. Please try to locate the server error logs and share with me or
   grant me access to the website [here](https://atlasgondal.com/contact-me/?utm_source=self&utm_medium=wordpress&utm_campaign=plugin&utm_term=export+all+urls+support).
   I would be happy to investigate the issue.
 *  Thread Starter [kayhda](https://wordpress.org/support/users/kayhda/)
 * (@kayhda)
 * [3 months ago](https://wordpress.org/support/topic/cant-activate-parse-error-3/#post-18833230)
 * Hi [@atlas_gondal](https://wordpress.org/support/users/atlas_gondal/) – no worries
   at all, I’ve found the error log and the same error seems to be repeating since
   installing the older version, the error is:
 * [25-Feb-2026 09:04:39 UTC] PHP Parse error: syntax error, unexpected ‘)’ in /
   home/hdany_com/public_html/subdomains/support.hdanywhere.com/wp-content/plugins/
   export-all-urls/functions.php on line 231
 * I’ve also put the full error log in pastebin: [https://pastebin.com/QtsAmAq3](https://pastebin.com/QtsAmAq3)
 * Is this helpful, or will you need access to the server?
 * Thank you
 *  Thread Starter [kayhda](https://wordpress.org/support/users/kayhda/)
 * (@kayhda)
 * [3 months ago](https://wordpress.org/support/topic/cant-activate-parse-error-3/#post-18833266)
 * [@atlas_gondal](https://wordpress.org/support/users/atlas_gondal/) I think I 
   fixed that error – there was a comma on line 231 of the functions.php file that
   was causing the error. Now export all urls is showing correctly in Tools on wordpress,
   no blank screen.
 * However, now when I try to export (as csv or display here), it does not export–
   I am getting the following error in the server log:
 * [25-Feb-2026 09:50:06 UTC] PHP Fatal error:  Call to undefined function map_deep()
   in /home/hdany_com/public_html/subdomains/support.hdanywhere.com/wp-content/plugins/
   export-all-urls/extract-all-urls-settings.php on line 494
 * Thank you
    -  This reply was modified 3 months ago by [kayhda](https://wordpress.org/support/users/kayhda/).
 *  Plugin Author [Atlas Gondal](https://wordpress.org/support/users/atlas_gondal/)
 * (@atlas_gondal)
 * [3 months ago](https://wordpress.org/support/topic/cant-activate-parse-error-3/#post-18834402)
 * [@kayhda](https://wordpress.org/support/users/kayhda/) sounds good, if you were
   able to resolve the issue and it worked inside the dashboard then I would recommend
   you to export inside the dashboard and use the manual approach to select, copy
   and paste into excel sheet.
 * Also, the `map_deep` function was introduced in later versions of WordPress, 
   that’s why it is failing on your end.
 *  Thread Starter [kayhda](https://wordpress.org/support/users/kayhda/)
 * (@kayhda)
 * [3 months ago](https://wordpress.org/support/topic/cant-activate-parse-error-3/#post-18835685)
 * [@atlas_gondal](https://wordpress.org/support/users/atlas_gondal/) the only way
   I could get it to run was to delete the line with the map_deep function on. After
   I did that, it seems to let me display inside dashboard and also export by CSV,
   but the export is completely empty both inside the dashboard and on the CSV. 
   It says there are 199 links, but they are empty.
 * Do you have an older version we can download without the map_deep function, please?
   Wondering if that could work
 * Many thanks
 *  Plugin Author [Atlas Gondal](https://wordpress.org/support/users/atlas_gondal/)
 * (@atlas_gondal)
 * [2 months, 4 weeks ago](https://wordpress.org/support/topic/cant-activate-parse-error-3/#post-18837853)
 * [@kayhda](https://wordpress.org/support/users/kayhda/) the [version 4.0](https://downloads.wordpress.org/plugin/export-all-urls.4.0.zip)
   does not use the `map_deep` function. Please give it a try and I am pretty hopeful
   that it should work in your environment.
 *  Thread Starter [kayhda](https://wordpress.org/support/users/kayhda/)
 * (@kayhda)
 * [2 months, 4 weeks ago](https://wordpress.org/support/topic/cant-activate-parse-error-3/#post-18837947)
 * Hi Atlas,
 * That is perfect, thank you – that version is working in our environment 🙂
 * Thank you!
 *  Plugin Author [Atlas Gondal](https://wordpress.org/support/users/atlas_gondal/)
 * (@atlas_gondal)
 * [2 months, 3 weeks ago](https://wordpress.org/support/topic/cant-activate-parse-error-3/#post-18838695)
 * [@kayhda](https://wordpress.org/support/users/kayhda/) good to hear that but 
   by the way, you do need to upgrade your environment! 🙂
 *  Thread Starter [kayhda](https://wordpress.org/support/users/kayhda/)
 * (@kayhda)
 * [2 months, 3 weeks ago](https://wordpress.org/support/topic/cant-activate-parse-error-3/#post-18839789)
 * Thank you [@atlas_gondal](https://wordpress.org/support/users/atlas_gondal/) –
   we are migrating to a new domain, which is why we wanted the URL exporter to 
   setup redirects, we are planning on using the latest version of wordpress on 
   the new domain 🙂

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

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcant-activate-parse-error-3%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/export-all-urls/assets/icon-256x256.png?rev=1661202)
 * [Export All URLs](https://wordpress.org/plugins/export-all-urls/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/export-all-urls/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/export-all-urls/)
 * [Active Topics](https://wordpress.org/support/plugin/export-all-urls/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/export-all-urls/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/export-all-urls/reviews/)

 * 11 replies
 * 2 participants
 * Last reply from: [kayhda](https://wordpress.org/support/users/kayhda/)
 * Last activity: [2 months, 3 weeks ago](https://wordpress.org/support/topic/cant-activate-parse-error-3/#post-18839789)
 * Status: resolved