{"id":854,"date":"2023-03-27T09:00:00","date_gmt":"2023-03-27T16:00:00","guid":{"rendered":"https:\/\/jasonflaherty.com\/blog\/?p=854"},"modified":"2023-10-17T21:21:55","modified_gmt":"2023-10-18T04:21:55","slug":"class-drushutilsstringutils-not-found-when-generating-content-in-drupal","status":"publish","type":"post","link":"https:\/\/jasonflaherty.com\/blog\/2023\/03\/27\/class-drushutilsstringutils-not-found-when-generating-content-in-drupal\/","title":{"rendered":"Class &#8220;Drush\\Utils\\StringUtils&#8221; not found when generating content in Drupal?"},"content":{"rendered":"\n<p>I ran into this problem for a while when I was trying to generate content alone on a complex content type. I thought it had to do with the content type. In reality all I had to do is enable &#8220;devel&#8221; along with &#8220;devel generate&#8221;. <\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I ran into this problem for a while when I was trying to generate content alone on a complex content type. I thought it had to do with the content type. In reality all I had to do is enable &#8220;devel&#8221; along with &#8220;devel generate&#8221;. <\/p>\n<p class=\"excerpt-link\"><a href=\"https:\/\/jasonflaherty.com\/blog\/2023\/03\/27\/class-drushutilsstringutils-not-found-when-generating-content-in-drupal\/\">&sim;&nbsp;Continue Reading&nbsp;&sim;<\/a><\/p>\n","protected":false},"author":1,"featured_media":853,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"footnotes":"","_jetpack_memberships_contains_paid_content":false,"jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[12,157],"tags":[183],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/jasonflaherty.com\/blog\/wp-content\/uploads\/2023\/03\/PXL_20230325_031439370.NIGHT_-scaled.jpg?fit=1920%2C2560&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5OfD9-dM","jetpack_likes_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/jasonflaherty.com\/blog\/wp-json\/wp\/v2\/posts\/854"}],"collection":[{"href":"https:\/\/jasonflaherty.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jasonflaherty.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jasonflaherty.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jasonflaherty.com\/blog\/wp-json\/wp\/v2\/comments?post=854"}],"version-history":[{"count":1,"href":"https:\/\/jasonflaherty.com\/blog\/wp-json\/wp\/v2\/posts\/854\/revisions"}],"predecessor-version":[{"id":855,"href":"https:\/\/jasonflaherty.com\/blog\/wp-json\/wp\/v2\/posts\/854\/revisions\/855"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/jasonflaherty.com\/blog\/wp-json\/wp\/v2\/media\/853"}],"wp:attachment":[{"href":"https:\/\/jasonflaherty.com\/blog\/wp-json\/wp\/v2\/media?parent=854"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jasonflaherty.com\/blog\/wp-json\/wp\/v2\/categories?post=854"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jasonflaherty.com\/blog\/wp-json\/wp\/v2\/tags?post=854"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}