Notice: Trying to access array offset on value of type bool in /var/www/html/wordpress/wp-content/plugins/internal-link-building-plugin/internal_link_building.php on line 86

Notice: Trying to access array offset on value of type bool in /var/www/html/wordpress/wp-content/plugins/internal-link-building-plugin/internal_link_building.php on line 105

vagrant フォルダー共有設定時エラー

vagrant, インフラ


Notice: Trying to access array offset on value of type bool in /var/www/html/wordpress/wp-content/plugins/internal-link-building-plugin/internal_link_building.php on line 86

Notice: Trying to access array offset on value of type bool in /var/www/html/wordpress/wp-content/plugins/internal-link-building-plugin/internal_link_building.php on line 105

エラー内容

Failed to mount folders in Linux guest. This is usually because
the "vboxsf" file system is not available. Please verify that
the guest additions are properly installed in the guest and
can work properly. The command attempted was:

No package kernel-devel-3.10.0-862.2.3.el7.x86_64 available.

問題点

ホスト⇔ゲスト間のフォルダ共有機能はGuest Additionsが提供していますが
ホストとゲストでバージョン不一致があるとマウントエラーが起きるようです。

解決策

エラー内容で、No package kernel-devel-3.10.0-862.2.3.el7.x86_64 available.
という記述があったので、googleで検索して、エラー内容のrpmをftpサーバーから取得する方法を選択.
yum -y install ftp://[ホスト名/path]