- Posts: 6
- Thank you received: 0
Getting "Call to undefined function" error in CP 3
- sjkelley
- Topic Author
- Offline
- New Member
Less
More
5 years 8 months ago #2697
by sjkelley
Getting "Call to undefined function" error in CP 3 was created by sjkelley
I have a website running Custom Properties in conjunction with jDownloads. My site is running:
- Joomla 3.9.4
- PHP 7.2.7
- Custom Properties 3.1.7
...and I am suddenly getting an error message when I try to upload a file into jDownloads. Please see the attached screen grab.
- Joomla 3.9.4
- PHP 7.2.7
- Custom Properties 3.1.7
...and I am suddenly getting an error message when I try to upload a file into jDownloads. Please see the attached screen grab.
Please Log in or Create an account to join the conversation.
- andrea_4g
- Offline
- Administrator
Less
More
- Posts: 1122
- Thank you received: 163
5 years 8 months ago - 5 years 8 months ago #2698
by andrea_4g
Replied by andrea_4g on topic Getting "Call to undefined function" error in CP 3
There are 2 possible solutions:
1) update to the latest version of Custom Properties, because your one is more than 4 years old and I can't exclude there won't be other issues with PHP 7.2.
2) fix it in place and see how it goes:
Edit file: plugins/content/cptags/cptags.php
Change line 99 from:
to:
1) update to the latest version of Custom Properties, because your one is more than 4 years old and I can't exclude there won't be other issues with PHP 7.2.
2) fix it in place and see how it goes:
Edit file: plugins/content/cptags/cptags.php
Change line 99 from:
Code:
$content_id = mysql_escape_string($article->$article_id_key);
Code:
$content_id = mysql_real_escape_string($article->$article_id_key);
Last edit: 5 years 8 months ago by andrea_4g.
Please Log in or Create an account to join the conversation.
Time to create page: 0.153 seconds