Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Custom PHP Page URLs now go to WP Pages

$
0
0

Replies: 0

Hello,

I recently upgraded the ‘WP Offload Media’ Lite plugin.

Immediately afterwards, the custom PHP pages on my WP install stopped working and returned errors, beginning with:

Fatal error: Uncaught Error: Call to undefined method AS3CF_S3_To_Local::get_attachment_id_from_url()

I searched it and found there was maybe a clash with WP Offload and the Divi theme.

https://wordpress.org/support/topic/uncaught-error-call-to-undefined-method-as3cf_s3_to_localget_attachment_id_fr/

When I deactivated the plugin, the custom PHP pages displayed correctly again, but the images were missing because they are connected via the plugin to my Amazon account.

I tried the fixes suggested, including upgrading the plugin to pro, but each time I activated the plugin, I got the error again.

But now, with the plugin deactivated and the errors have gone, when I try to visit any of my custom php pages, they take me to a WP page instead. The URL/path is the same, but they no longer go to the custom pages which are still in the same place on my server.

EG: this page used to display a custom PHP page, with my email newsletter content, but now simply returns a WP Page with the name ‘daily newsletter’:

https://website.com/daily-newsletter/

I tried resaving my permalinks ( site.com//%postname%/ ) in case that was part of the issue, but no change.

Do you have any ideas what might be causing this?

Thanks


Viewing all articles
Browse latest Browse all 59525

Trending Articles