Title: Images Issue with Uncode Theme
Last modified: February 10, 2023

---

# Images Issue with Uncode Theme

 *  Resolved [Nikhil P](https://wordpress.org/support/users/devnp/)
 * (@devnp)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/images-issue-with-uncode-theme/)
 * Hello,
 * We are using Uncode theme with this plugin. On fresh installation with default
   theme image is visible.
 * I have uploaded the theme no issue was faced but when I imported data and checked
   the pages, its completely blank. It is not showing images as well as any page
   content.
 * But when disable  “Deliver Offloaded Media” option page content started to showing
   without images.
 * Kindly help in this as I have already reset the WordPress using WP Reset plugin
   as per Uncode theme support.
 * Thank you

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

 *  Plugin Author [Delicious Brains](https://wordpress.org/support/users/deliciousbrains/)
 * (@deliciousbrains)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/images-issue-with-uncode-theme/#post-16513932)
 * What errors do you see in debug.log when Offload Media is turned on as opposed
   to when it is turned off?
 * -IJ
 *  [i2dau](https://wordpress.org/support/users/i2dau/)
 * (@i2dau)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/images-issue-with-uncode-theme/#post-16608269)
 * I am also experiencing a similar issue with Uncode.
 *     ```wp-block-code
       xx.com/html/wp-content/themes/uncode/partials/elements.php(2212): uncode_resize_image()
       #1 /var/www/xx.com/html/wp-content/themes/uncode/vc_templates/vc_single_image.php(591): uncode_create_single_block()
       #2 /var/www/xx.com/html/wp-content/plugins/uncode-js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(451): require('...')
       #3 /var/www/xx.com/html/wp-content/plugins/uncode-js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(424): WPBakeryShortCode->loadTemplate()
       #4 /var/www/xx.com/html/wp-content/plugins/uncode-js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(548): WPBakeryShortCode->content()
       #5 /var/www/xx.com/html/wp-content/plugins/uncode-js_composer/include/helpers/helpers" while reading upstream, client: <ip>, server: xx.com, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.1-fpm.sock:", host: "xx.com", referrer: "https://xx.com/"
       2023/03/30 00:44:00 [error] 89990#89990: *56344 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught Error: Call to undefined method Amazon_S3_And_CloudFront::get_attachment_url() in /var/www/xx.com/html/wp-content/themes/uncode/core/inc/helpers.php:401
       ```
   
 *  Plugin Author [Delicious Brains](https://wordpress.org/support/users/deliciousbrains/)
 * (@deliciousbrains)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/images-issue-with-uncode-theme/#post-16609336)
 * [@i2dau](https://wordpress.org/support/users/i2dau/) thanks for the info.
 * Looks like the Uncode theme has some compatibility code for WP Offload Media 
   that reaches inside the plugin and tries to use an old function that no longer
   exists.
 * Please ask the Uncode theme authors to use the global `as3cf_get_attachment_url()`
   function instead.
 * -IJ

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

The topic ‘Images Issue with Uncode Theme’ is closed to new replies.

 * ![](https://ps.w.org/amazon-s3-and-cloudfront/assets/icon-256x256.jpg?rev=1809890)
 * [WP Offload Media Lite for Amazon S3, DigitalOcean Spaces, and Google Cloud Storage](https://wordpress.org/plugins/amazon-s3-and-cloudfront/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/amazon-s3-and-cloudfront/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/amazon-s3-and-cloudfront/)
 * [Active Topics](https://wordpress.org/support/plugin/amazon-s3-and-cloudfront/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/amazon-s3-and-cloudfront/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/amazon-s3-and-cloudfront/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [Delicious Brains](https://wordpress.org/support/users/deliciousbrains/)
 * Last activity: [3 years, 2 months ago](https://wordpress.org/support/topic/images-issue-with-uncode-theme/#post-16609336)
 * Status: resolved