Title: Error when compiling personal Bootstrap Install
Last modified: December 6, 2022

---

# Error when compiling personal Bootstrap Install

 *  Resolved [getparsimony](https://wordpress.org/support/users/getparsimony/)
 * (@getparsimony)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/error-when-compiling-personal-bootstrap-install/)
 * When I try to compile my own Bootstrap 5 Install using ‘yarn build’ (after unchecking
   your plugin includes) I get the following message:
 * Deprecated: Return type of ABB\ScssPhp\ScssPhp\Node\Number::offsetExists($offset)
   should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool,
   or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress
   the notice in /../../../../../../wp-content/plugins/all-bootstrap-blocks/vendors/
   scssphp-1.6.0/src/Node/Number.php on line 152
 * Every time I compile I need to deactivate and then activate this plugin to clear
   the error.
    -  This topic was modified 3 years, 5 months ago by [getparsimony](https://wordpress.org/support/users/getparsimony/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-when-compiling-personal-bootstrap-install%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [all_bootstrap_blocks](https://wordpress.org/support/users/areoimiles/)
 * (@areoimiles)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/error-when-compiling-personal-bootstrap-install/#post-16263653)
 * Hi [@getparsimony](https://wordpress.org/support/users/getparsimony/)
 * Thank you for reaching out and bringing this issue to my attention.
 * I’m not too familiar with Yarn so hopefully you can help me out a little so that
   I can recreate this issue on my local machine and help find the issue.
 * Could you answer the following?
 * **What version of PHP are you using?**
 * **Do you have a config file for yarn that tells it what files to compile etc?
   If yes, please could you send me the file?**
 * **Where do you see the error? Is it in your console where you run yarn build 
   or is it on the WordPress website?**
 * If you could answer the above that should give me a starting point so I can look
   in to this for you.
 * Thanks
 * Miles
 *  Thread Starter [getparsimony](https://wordpress.org/support/users/getparsimony/)
 * (@getparsimony)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/error-when-compiling-personal-bootstrap-install/#post-16263687)
 * Thanks for the speedy reply Miles!
 * I am running PHP 8.1
 * Are you referring to the package managing file? If so that should be package.
   json which you can download here: [https://file.io/F7hwfkJnUzqi](https://file.io/F7hwfkJnUzqi)
 * The error appears on my website after compiling.
 * Please let me know if I can send any other pertinent information! I’ve also noticed
   that after compiling the first load seems to take a bit longer when the plugin
   is active vs when inactive, not sure if that’s related.
 *  Plugin Author [all_bootstrap_blocks](https://wordpress.org/support/users/areoimiles/)
 * (@areoimiles)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/error-when-compiling-personal-bootstrap-install/#post-16263724)
 * Hi [@getparsimony](https://wordpress.org/support/users/getparsimony/)
 * Thank you for the info. I will look in to the issue this week and hopefully find
   a resolution for you. In the meantime you could try activating the plugin and
   then commenting out the below line of code (line 38) in this file ‘wp-content/
   plugins/all-bootstrap-blocks/areoi.php’:
 * `require_once( AREOI__PLUGIN_DIR . 'vendors/scssphp-1.6.0/scss.inc.php' );`
 * **You will need to activate the plugin first, before commenting out the code!**
 * The error looks to be related to the compiler that is used when managing Bootstrap
   via the WordPress admin. Commenting out that line should stop it from being loaded
   and hopefully remove the error for you. This shouldn’t cause any issues as you
   are using your own Bootstrap config, but please let me know if it does.
 * Let me know if the above doesn’t work for you. In the meantime I will work on
   finding an answer to why the error occurs.
 * Thanks
 * Miles
 *  Thread Starter [getparsimony](https://wordpress.org/support/users/getparsimony/)
 * (@getparsimony)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/error-when-compiling-personal-bootstrap-install/#post-16263764)
 * Thanks Miles,
 * So I tried commenting out the line that you suggested and received a few more
   errors, BUT, I added that back and commented out everything in the same file 
   after line 69 (// Recompile if theme.json exists and has been updated) and everything
   seems to be compiling fine for now. Hopefully that helps!
 *  Plugin Author [all_bootstrap_blocks](https://wordpress.org/support/users/areoimiles/)
 * (@areoimiles)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/error-when-compiling-personal-bootstrap-install/#post-16263770)
 * Yes that does help massively, thank you!
 * Great, at least you can crack on for now.
 * I will drop you an update once the issue is resolved and a new version is available.
 * Miles
 *  Plugin Author [all_bootstrap_blocks](https://wordpress.org/support/users/areoimiles/)
 * (@areoimiles)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/error-when-compiling-personal-bootstrap-install/#post-16278344)
 * Hi [@getparsimony](https://wordpress.org/support/users/getparsimony/)
 * Thank you for your patience! I have released an update which should resolve this
   problem for you. There was a compatibility issue with PHP 8.1 but everything 
   looks to be working ok on the latest update. Thanks again for notifying me of
   this issue.
 * If you have any problems in the future, please don’t hesitate to get back in 
   touch.
 * Thanks
 * Miles
 *  Thread Starter [getparsimony](https://wordpress.org/support/users/getparsimony/)
 * (@getparsimony)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/error-when-compiling-personal-bootstrap-install/#post-16290607)
 * Miles, this is great news! Thanks a ton for resolving this so quickly. I’ve updated
   the plugin and everything seems to be working peachy.

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

The topic ‘Error when compiling personal Bootstrap Install’ is closed to new replies.

 * ![](https://ps.w.org/all-bootstrap-blocks/assets/icon-256x256.gif?rev=2617070)
 * [All Bootstrap Blocks](https://wordpress.org/plugins/all-bootstrap-blocks/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/all-bootstrap-blocks/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/all-bootstrap-blocks/)
 * [Active Topics](https://wordpress.org/support/plugin/all-bootstrap-blocks/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/all-bootstrap-blocks/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/all-bootstrap-blocks/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [getparsimony](https://wordpress.org/support/users/getparsimony/)
 * Last activity: [3 years, 5 months ago](https://wordpress.org/support/topic/error-when-compiling-personal-bootstrap-install/#post-16290607)
 * Status: resolved